/* ==========================================================================
   High Concept Egypt — "Core & Mineral"
   Brand layer. Loaded last, after bootstrap / style / responsive / theme.

   The palette and the section rule are both taken from the product itself:
   a cut edge of compact HPL shows two thin decorative surfaces sandwiching a
   dense black phenolic core. That cross-section is the site's only ornament.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ground */
  --hc-core:        #17161A;   /* phenolic core — the black line in a cut panel */
  --hc-core-2:      #1F1E22;   /* core, one step open */
  --hc-kraft:       #332F2A;   /* the resin-brown layers under the surface */
  --hc-mineral:     #E7E9E4;   /* page ground: pale mineral grey, ATH cast */
  --hc-surface:     #F5F6F3;   /* raised panels, cards */
  --hc-line:        #D3D7D0;   /* hairline on light */
  --hc-line-dark:   #34333A;   /* hairline on core */

  /* Accent — measured off the wordmark (#DB3831) and held to AA */
  --hc-oxide:       #C4302A;   /* fills, ticks, buttons        (white 5.5:1) */
  --hc-oxide-ink:   #B02722;   /* accent text on light         (5.4:1)      */
  --hc-oxide-lit:   #E8564E;   /* accent text on core          (5.0:1)      */

  /* Support — cool green-grey keeps oxide the only warm note */
  --hc-slate:       #4E5B58;   /* meta text on light           (5.8:1)      */
  --hc-slate-lit:   #9AA6A2;   /* meta text on core            (7.2:1)      */

  /* Type roles */
  --hc-display: "Archivo", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --hc-body:    "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --hc-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Rhythm */
  --hc-gutter: clamp(16px, 4vw, 40px);
  --hc-section: clamp(56px, 8vw, 116px);
  --hc-measure: 64ch;

  /* Signature: the core edge, drawn at 1:1 */
  --hc-edge: linear-gradient(to bottom,
      var(--hc-surface) 0 2px,
      var(--hc-core)    2px 7px,
      var(--hc-surface) 7px 9px);
  --hc-edge-dark: linear-gradient(to bottom,
      var(--hc-slate-lit) 0 2px,
      var(--hc-core)      2px 7px,
      var(--hc-slate-lit) 7px 9px);
  --hc-edge-start: left;
}

[dir="rtl"] { --hc-edge-start: right; }

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--hc-mineral);
  color: var(--hc-core);
  font-family: var(--hc-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

.page-wrapper { background-color: var(--hc-mineral); overflow-x: clip; }

::selection { background: var(--hc-oxide); color: #fff; }

img { max-width: 100%; }

/* The template hard-codes .auto-container to 1200px with 15px gutters.
   Make it fluid so the layout breathes on every width. */
.auto-container {
  max-width: 1240px;
  padding-inline: var(--hc-gutter);
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.sec-title h2,
.count-box .count-text,
.counter-title {
  font-family: var(--hc-display);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--hc-core);
}

h1, .about-section .content-box .title h1 {
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.08;
  margin: 0 0 .5em;
}

.sec-title h2,
h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.14;
}

h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.25; }

p, .text, .text p { font-family: var(--hc-body); color: var(--hc-kraft); }
.text, .text p { max-width: var(--hc-measure); font-size: clamp(15px, 1.6vw, 17px); }

/* Data and dimensions get the mono face: panel thicknesses, counts, labels. */
.count-box .count-text,
.sec-title .float-text,
.bread-crumb,
.copyright-text p {
  font-family: var(--hc-mono);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. Signature — the core edge
   The section rule is a laminate cross-section with a fabricator's cut mark
   at its leading end. It replaces every decorative divider on the site.
   -------------------------------------------------------------------------- */
.sec-title { margin-bottom: clamp(32px, 5vw, 60px); }

/* The 72px ghost watermark becomes a real label. */
.sec-title .float-text,
.sec-title.text-center .float-text {
  position: static;
  display: block;
  width: auto;
  margin: 0 0 14px;
  opacity: 1;
  font-family: var(--hc-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hc-slate);
}

.sec-title h2 {
  padding: 0;
  color: var(--hc-core);
  font-weight: 700;
}

.sec-title h2::after {
  content: "";
  display: block;
  inline-size: 148px;
  max-inline-size: 60%;
  block-size: 9px;
  margin-block-start: clamp(16px, 2vw, 24px);
  background:
    linear-gradient(var(--hc-oxide), var(--hc-oxide)) var(--hc-edge-start) center / 30px 9px no-repeat,
    var(--hc-edge);
}

.sec-title.text-center h2::after { margin-inline: auto; }

.sec-title.light .float-text { color: var(--hc-slate-lit); opacity: 1; }
.sec-title.light h2 { color: var(--hc-surface); }
.sec-title.light h2::after {
  background:
    linear-gradient(var(--hc-oxide-lit), var(--hc-oxide-lit)) var(--hc-edge-start) center / 30px 9px no-repeat,
    var(--hc-edge-dark);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.main-header .header-top {
  background-color: var(--hc-core);
  border-bottom: 1px solid var(--hc-line-dark);
}

.main-header .header-top .inner-container { padding-block: 6px; }

.main-header .header-top .contact-list li,
.main-header .header-top .contact-list li a {
  color: var(--hc-slate-lit);
  font-family: var(--hc-mono);
  font-size: 13px;
  letter-spacing: .01em;
}
.main-header .header-top .contact-list li a:hover { color: var(--hc-oxide-lit); }
.main-header .header-top .contact-list li i { color: var(--hc-oxide-lit); }

.main-header .social-icon-four li a,
.main-footer .social-icon-two li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--hc-slate-lit);
  background: transparent;
  border-radius: 0;
  transition: color .2s ease, background-color .2s ease;
}
.main-header .social-icon-four li a:hover,
.main-footer .social-icon-two li a:hover {
  color: var(--hc-surface);
  background-color: var(--hc-oxide);
}

.main-header .header-lower,
.main-header .sticky-header {
  background-color: var(--hc-surface);
  box-shadow: 0 1px 0 var(--hc-line);
}

/* The logo is pinned to 223px inline; let it scale instead. */
.main-header .logo img,
.sticky-header .logo img {
  width: auto !important;
  height: auto !important;
  max-width: min(200px, 46vw);
  max-height: 62px;
  object-fit: contain;
}
.main-header .logo-box .logo { padding-block: 14px; }
.main-header .logo a, .sticky-header .logo a { display: inline-block; line-height: 0; }

.main-menu .navigation > li > a {
  font-family: var(--hc-display);
  font-variation-settings: "wdth" 100;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .07em;
  color: var(--hc-core);
  padding: 30px 0;
}
.main-menu .navigation > li { margin-inline-start: clamp(14px, 2vw, 30px); }
.main-menu .navigation > li:first-child { margin-inline-start: 0; }

.main-menu .navigation > li > a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 22px;
  height: 3px;
  background-color: var(--hc-oxide);
  transform: scaleX(0);
  transform-origin: var(--hc-edge-start);
  transition: transform .22s ease;
}
.main-menu .navigation > li:hover > a::after,
.main-menu .navigation > li.current > a::after,
.main-menu .navigation > li.current-menu-item > a::after { transform: scaleX(1); }

/* The sticky bar runs shorter than the main header, so the rule rides higher. */
.sticky-header .main-menu .navigation > li > a::after { bottom: 12px; }

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li.current-menu-item > a { color: var(--hc-oxide-ink); }

/* Dropdowns */
.main-menu .navigation > li > ul {
  background-color: var(--hc-core);
  border-top: 3px solid var(--hc-oxide);
  box-shadow: 0 18px 40px rgba(23, 22, 26, .28);
  padding-block: 6px;
}
.main-menu .navigation > li > ul > li { border-bottom: 1px solid var(--hc-line-dark); }
.main-menu .navigation > li > ul > li:last-child { border-bottom: 0; }
.main-menu .navigation > li > ul > li > a {
  color: var(--hc-slate-lit);
  font-size: 14px;
  font-weight: 400;
  padding: 11px 20px;
  text-transform: none;
  transition: color .18s ease, background-color .18s ease;
}
.main-menu .navigation > li > ul > li > a:hover {
  color: var(--hc-surface);
  background-color: var(--hc-oxide);
}

/* Language switch — was an unowned inline green. */
.main-menu .navigation > li > a.hc-lang-switch {
  font-family: var(--hc-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--hc-oxide-ink);
}
.main-menu .navigation > li > a.hc-lang-switch::before {
  content: "";
  display: inline-block;
  inline-size: 1px;
  block-size: 14px;
  margin-inline-end: 12px;
  vertical-align: -2px;
  background-color: var(--hc-line);
}
.main-menu .navigation > li:hover > a.hc-lang-switch { color: var(--hc-oxide); }
@media (max-width: 991px) {
  .main-menu .navigation > li > a.hc-lang-switch { color: var(--hc-oxide-lit); }
  .main-menu .navigation > li > a.hc-lang-switch::before { display: none; }
}

.main-header .navbar-toggler {
  min-width: 48px;
  min-height: 48px;
  color: var(--hc-core);
  background: transparent;
  border: 1px solid var(--hc-line);
}
.main-header .navbar-toggler .icon { color: var(--hc-core); }

/* --------------------------------------------------------------------------
   6. Hero — the slider carried no message; the thesis panel supplies one.
   The panel sits on its own core ground so it stays readable over any slide.
   -------------------------------------------------------------------------- */
.banner-section-two { background-color: var(--hc-core); }

.banner-section-two .slide-item {
  height: clamp(420px, 74vh, 720px);
  background-color: var(--hc-core);
}
/* The decorative shape overlay becomes a scrim, so the thesis panel stays
   legible over light and dark slides alike. */
.banner-section-two .slide-item::before {
  inset: 0;
  height: 100%;
  width: 100%;
  bottom: 0;
  background-image: linear-gradient(
    to bottom, rgba(23,22,26,.14) 0%, rgba(23,22,26,.58) 62%, rgba(23,22,26,.88) 100%);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 1;
}

.hc-hero-thesis {
  position: absolute;
  inset-block-end: clamp(24px, 5vh, 64px);
  inset-inline-start: 0;
  width: 100%;
  z-index: 8;
  pointer-events: none;
}
.hc-hero-thesis .auto-container { pointer-events: none; }

.hc-hero-panel {
  position: relative;
  pointer-events: auto;
  max-width: 640px;
  background-color: rgba(23, 22, 26, .93);
  padding: clamp(30px, 4vw, 46px) clamp(20px, 3.4vw, 42px) clamp(24px, 3.4vw, 38px);
}
/* the cut edge, drawn across the top of the panel */
.hc-hero-panel::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 9px;
  background:
    linear-gradient(var(--hc-oxide-lit), var(--hc-oxide-lit)) var(--hc-edge-start) center / 56px 9px no-repeat,
    var(--hc-edge-dark);
}

.hc-hero-eyebrow {
  display: block;
  font-family: var(--hc-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hc-oxide-lit);
  margin-bottom: 14px;
}

.hc-hero-panel h1 {
  color: var(--hc-surface);
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.06;
  margin: 0 0 16px;
}
.hc-hero-panel h1 em {
  font-style: normal;
  color: var(--hc-oxide-lit);
}

.hc-hero-panel p {
  color: var(--hc-slate-lit);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 46ch;
}

.hc-hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.hc-hero-specs li {
  font-family: var(--hc-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--hc-surface);
}
.hc-hero-specs li span {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-slate-lit);
  margin-bottom: 2px;
}
.hc-hero-specs li a {
  color: var(--hc-surface);
  border-bottom: 1px solid rgba(232, 86, 78, .55);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.hc-hero-specs li a:hover {
  color: var(--hc-oxide-lit);
  border-color: var(--hc-oxide-lit);
}

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

/* Slider controls */
.banner-carousel .owl-dots { bottom: 14px; }
.banner-carousel .owl-dots .owl-dot span {
  width: 26px;
  height: 4px;
  border-radius: 0;
  background-color: rgba(231, 233, 228, .38);
}
.banner-carousel .owl-dots .owl-dot.active span,
.banner-carousel .owl-dots .owl-dot:hover span { background-color: var(--hc-oxide-lit); }

.owl-nav .owl-prev, .owl-nav .owl-next {
  min-width: 46px;
  min-height: 46px;
  border-radius: 0 !important;
}

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
section { position: relative; }

.about-section,
.specialize-section,
.clients-section,
.app-section,
.faq-section,
.projects-section,
.project-details-section,
.contact-page-section,
.testimonial-section-two {
  padding-block: var(--hc-section);
  background-color: var(--hc-mineral);
}

.about-section { background-image: none !important; }

/* The promo band's texture tile is opaque near-black, so it is the one dark
   moment between two mineral sections. The template's masking bands were white
   for a white page; they take the page ground instead. */
.app-section { padding-block: 0; background-color: var(--hc-mineral); }
.app-section .outer-box { padding-block: clamp(64px, 9vw, 120px); }
.app-section .outer-box::before,
.app-section .outer-box::after {
  background-color: var(--hc-mineral);
  height: clamp(40px, 6vw, 80px);
}
.app-section .title-column h2 {
  font-size: clamp(46px, 9vw, 84px);
  line-height: .9;
  letter-spacing: -.03em;
}
.app-section .content-column h3 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.18; }
.app-section .content-column .text { color: var(--hc-slate-lit); }
.app-section a:hover h2,
.app-section a:hover h3 { color: var(--hc-oxide-lit); }

.about-section .image-column .title-box h2 {
  font-size: clamp(38px, 7vw, 84px);
  line-height: .92;
  color: var(--hc-core);
  opacity: .12;
  letter-spacing: -.02em;
}

.about-section .content-box .title h1,
.about-section .content-box .title h2 { color: var(--hc-core); padding-bottom: 18px; }

.about-section .image-box .alphabet-img { opacity: .9; }

.specialize-section { background-color: var(--hc-surface); }

.fun-fact-and-features { background-color: var(--hc-core); }
.fun-fact-and-features .outer-box { padding-block: var(--hc-section); }
/* The template shipped this pseudo-element as a 170px white strip masking the
   photograph against a white page. Reused as the scrim it kept that fixed
   height, so the counters ended up on bare timber at ~2:1. Clear the height and
   let inset:0 span the band. */
.fun-fact-and-features::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  width: auto;
  background-color: rgba(23, 22, 26, .84);
}
.fun-fact-and-features .outer-box { position: relative; z-index: 2; }

.feature-block .icon-box img {
  height: clamp(120px, 16vw, 168px);
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.fact-counter .count-box {
  padding-block-end: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}
.fact-counter .count-box .count { flex: none; }
.fact-counter .count-box .count-text { color: var(--hc-oxide-lit); }
.fact-counter .counter-title {
  color: var(--hc-oxide-lit);
  margin: 0;
  align-self: center;
}
.fact-counter .counter-title br { display: none; }
.fact-counter .count-box .count-text {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  color: var(--hc-oxide-lit);
  font-weight: 600;
}
.fact-counter .counter-title {
  font-family: var(--hc-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-slate-lit);
  margin-block-start: 10px;
}

.video-section .outer-box { padding-block: var(--hc-section); }
.video-section .video-box .image a.link .icon {
  background-color: var(--hc-oxide);
  color: #fff;
}

.clients-section, .clients-section.style-two { background-color: var(--hc-surface); }
.testimonial-section-two .owl-prev,
.testimonial-section-two .owl-next,
.testimonial-section .owl-prev,
.testimonial-section .owl-next { color: var(--hc-slate); }
.testimonial-section-two .owl-prev:hover,
.testimonial-section-two .owl-next:hover,
.testimonial-section .owl-prev:hover,
.testimonial-section .owl-next:hover { color: var(--hc-oxide-ink); }

.sponsors-outer img { filter: grayscale(1); opacity: .62; transition: opacity .25s ease, filter .25s ease; }
.sponsors-outer img:hover { filter: grayscale(0); opacity: 1; }

/* Inner-page banner */
.page-title {
  background-color: var(--hc-core);
  padding-block: clamp(56px, 9vw, 120px);
}
.page-title::before { background-color: rgba(23, 22, 26, .78); }
.page-title h1 { color: var(--hc-surface); }
.page-title .bread-crumb li { color: var(--hc-slate-lit); font-size: 13px; }
.page-title .bread-crumb li a { color: var(--hc-slate-lit); }
.page-title .bread-crumb li a:hover { color: var(--hc-oxide-lit); }

/* --------------------------------------------------------------------------
   8. Cards — each carries the core edge on its top border
   -------------------------------------------------------------------------- */
.feature-block .inner-box,
.service-block-two .inner-box,
.project-block .inner-box,
.info-block .inner-box,
.testimonial-block-two .inner-box {
  background-color: var(--hc-surface);
  border: 1px solid var(--hc-line);
  border-radius: 0;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-block .inner-box { position: relative; padding: 30px clamp(20px, 3vw, 34px) 26px; }
.feature-block .inner-box::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline: -1px;
  height: 9px;
  background:
    linear-gradient(var(--hc-oxide), var(--hc-oxide)) var(--hc-edge-start) center / 42px 9px no-repeat,
    var(--hc-edge);
}

.feature-block .inner-box:hover,
.service-block-two .inner-box:hover,
.project-block .inner-box:hover {
  background-color: var(--hc-surface);
  transform: translateY(-4px);
  border-color: var(--hc-oxide);
  box-shadow: 0 14px 34px rgba(23, 22, 26, .12);
}

.feature-block .inner-box h3,
.feature-block .inner-box h3 a { color: var(--hc-core); }
.feature-block .inner-box:hover h3 a { color: var(--hc-oxide-ink); }
.feature-block .inner-box h3 a { display: inline-block; padding-block: 7px; }
.feature-block .icon-box img { object-fit: contain; }

.feature-block .link-box a,
.service-block-two .caption-box .link-box a {
  font-family: var(--hc-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-slate);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.feature-block .link-box a:hover,
.service-block-two .caption-box .link-box a:hover { color: var(--hc-oxide-ink); }

.service-block-two .inner-box { overflow: hidden; }
.service-block-two .image-box .image { margin: 0; overflow: hidden; }
.service-block-two .image-box .image img { transition: transform .5s ease; width: 100%; }
.service-block-two .inner-box:hover .image-box .image img { transform: scale(1.05); }
.service-block-two .caption-box { padding: 16px clamp(16px, 2vw, 24px); background-color: var(--hc-surface); }

/* Carousel cards took their height from each photograph, leaving the row 87px
   ragged and the Read more links on four different lines. One ratio, cropped. */
.specialize-section .owl-item .image-box .image,
.specialize-section .owl-item figure.image { margin: 0; }
.specialize-section .owl-item .image-box img,
.specialize-section .owl-item figure.image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}
.specialize-section .owl-stage { display: flex; align-items: stretch; }
.specialize-section .owl-item { display: flex; }
.specialize-section .owl-item > * { width: 100%; }

/* This carousel's page markers were 3px ticks — invisible and unhittable.
   Scoped: the hero runs its own vertical dot column and must keep it. */
.specialize-section .owl-dots { display: flex; justify-content: center; gap: 8px; }
.specialize-section .owl-dots .owl-dot { padding: 12px 0; margin: 0; }
.specialize-section .owl-dots .owl-dot span {
  width: 28px;
  height: 3px;
  margin: 0;
  display: block;
  background-color: var(--hc-line);
  border-radius: 0;
  transition: background-color .2s ease;
}
.specialize-section .owl-dots .owl-dot.active span,
.specialize-section .owl-dots .owl-dot:hover span { background-color: var(--hc-oxide); }

/* Colour-swatch grids (HPL / Corian colour pages) read as material samples. */
.projects-section .project-block .image,
.mixitup-gallery .project-block .image { border: 1px solid var(--hc-line); }

/* The gallery filters are tabs, not pills — keep the tab, give it a real hit
   area and the oxide underline. */
.mixitup-gallery .filters .filter-tabs { border-bottom-color: var(--hc-line); }
.mixitup-gallery .filters li {
  font-family: var(--hc-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hc-slate);
  padding: 12px 4px 12px;
  margin-inline-end: clamp(16px, 3vw, 30px);
  margin-inline-start: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.mixitup-gallery .filters li:last-child { margin-inline-end: 0; }
.mixitup-gallery .filters li.active,
.mixitup-gallery .filters li:hover {
  color: var(--hc-oxide-ink);
  border-bottom-color: var(--hc-oxide);
}
[dir="rtl"] .mixitup-gallery .filters li { float: right; }

/* Accordion (FAQ) */
.accordion-box .block .acc-btn {
  background-color: var(--hc-surface);
  border: 1px solid var(--hc-line);
  color: var(--hc-core);
  font-family: var(--hc-display);
  font-weight: 600;
  padding: 16px 54px 16px 20px;
  min-height: 44px;
}
.accordion-box .block .acc-btn.active { border-color: var(--hc-oxide); color: #fff; }
.accordion-box .block .acc-btn .icon { color: var(--hc-oxide); }
.accordion-box .block .acc-btn.active .icon { color: #fff; }
.accordion-box .block .acc-content { background-color: var(--hc-surface); border: 1px solid var(--hc-line); border-top: 0; }

/* --------------------------------------------------------------------------
   9. Buttons, links, forms
   -------------------------------------------------------------------------- */
a { color: var(--hc-oxide-ink); }
a:hover { color: var(--hc-oxide); }

.theme-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--hc-display);
  font-variation-settings: "wdth" 100;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 12px clamp(22px, 3vw, 36px);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-style-one,
.btn-style-two,
.btn-style-three,
.theme-btn.btn-style-one,
.theme-btn.btn-style-two,
.theme-btn.btn-style-three {
  background-image: none;
  filter: none;
  border-radius: 0;
}

.theme-btn.btn-style-one {
  background-color: var(--hc-oxide);
  color: #ffffff;
  border: 1px solid var(--hc-oxide);
  box-shadow: none;
}
.theme-btn.btn-style-one:hover {
  background-color: var(--hc-core);
  border-color: var(--hc-core);
  color: #ffffff;
  box-shadow: none;
}

.theme-btn.btn-style-two {
  background-color: transparent;
  color: var(--hc-core);
  border: 1px solid var(--hc-core);
}
.theme-btn.btn-style-two:hover {
  background-color: var(--hc-core);
  color: var(--hc-surface);
}

/* btn-style-three is the template's dark solid button (form submits, inner
   pages). It keeps that job; only the hero's pair sits on a dark ground. */
.theme-btn.btn-style-three {
  background-color: var(--hc-core);
  color: var(--hc-surface);
  border: 1px solid var(--hc-core);
}
.theme-btn.btn-style-three:hover {
  background-color: var(--hc-oxide);
  border-color: var(--hc-oxide);
  color: #ffffff;
}

.hc-hero-actions .theme-btn.btn-style-three,
.sec-title.light + * .theme-btn.btn-style-three {
  background-color: transparent;
  color: var(--hc-surface);
  border-color: var(--hc-slate-lit);
}
.hc-hero-actions .theme-btn.btn-style-three:hover,
.sec-title.light + * .theme-btn.btn-style-three:hover {
  background-color: var(--hc-oxide);
  border-color: var(--hc-oxide);
  color: #ffffff;
}

/* Forms */
.contact-form .form-group { margin-bottom: 18px; }
.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group input[type="tel"],
.contact-form .form-group select,
.contact-form .form-group textarea,
.comment-form .form-group input[type="text"],
.comment-form .form-group input[type="email"],
.comment-form .form-group textarea {
  width: 100%;
  min-height: 50px;
  background-color: var(--hc-surface);
  border: 1px solid var(--hc-line);
  border-radius: 0;
  padding: 12px 16px;
  color: var(--hc-core);
  font-family: var(--hc-body);
  font-size: 16px; /* keeps iOS from zooming on focus */
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form .form-group textarea,
.comment-form .form-group textarea { min-height: 150px; resize: vertical; }
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder,
.comment-form .form-group input::placeholder,
.comment-form .form-group textarea::placeholder { color: var(--hc-slate); opacity: .85; }
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus,
.comment-form .form-group input:focus,
.comment-form .form-group textarea:focus {
  border-color: var(--hc-oxide);
  box-shadow: 0 0 0 3px rgba(196, 48, 42, .18);
  outline: none;
}

.alert { border-radius: 0; font-family: var(--hc-body); }
.alert-success { background-color: #E4EBE6; border: 1px solid #7E9C87; color: #24422D; }
.alert-danger  { background-color: #F6E3E2; border: 1px solid var(--hc-oxide); color: #7A1C18; }

.contact-info li,
.info-box li { color: var(--hc-kraft); }
.contact-info li a,
.info-box li a { color: var(--hc-oxide-ink); }
.contact-info li .icon,
.contact-info li span:first-child { color: var(--hc-oxide); }

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.main-footer,
.main-footer.alternate {
  background-color: var(--hc-core);
  background-image: none;
  color: var(--hc-slate-lit);
}
.main-footer .footer-bottom {
  border-top: 1px solid var(--hc-line-dark);
  background-color: transparent;
  padding-block: 20px;
}
.main-footer .footer-bottom .inner-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.main-footer .copyright-text p {
  color: var(--hc-slate-lit);
  font-size: 12px;
  letter-spacing: .04em;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.main-footer .footer-bottom .inner-container::before,
.main-footer .footer-bottom .copyright-text::before { display: none; }
.main-footer .footer-bottom .copyright-text {
  background-color: transparent;
  padding: 0;
}
.main-footer .footer-bottom .copyright-text p { color: var(--hc-slate-lit); }
.main-footer .footer-bottom .copyright-text a { color: var(--hc-slate-lit); }
.main-footer .footer-bottom .copyright-text a:hover { color: var(--hc-oxide-lit); }
.main-footer .copyright-text a { color: var(--hc-slate-lit); }
.main-footer .copyright-text a:hover { color: var(--hc-oxide-lit); }

/* The credit mark sat at 18px and read as a broken glyph. */
.main-footer .footer-bottom .copyright-text a img {
  height: 26px;
  width: auto;
  display: inline-block;
  vertical-align: -8px;
  opacity: .75;
  transition: opacity .2s ease;
}
.main-footer .footer-bottom .copyright-text a:hover img { opacity: 1; }

/* Text links that are the only way to reach a page were running 17–28px tall.
   Give every one of them the 44px tap box without changing where the text sits. */
.hc-hero-specs a,
.bread-crumb li a,
.contact-info li a,
.contact-page-section .contact-info .info-block p a,
.main-header .header-top .contact-list li a,
.main-footer .footer-bottom .copyright-text .hc-credit a,
.main-header .logo-box .logo,
.sticky-header .logo a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.main-footer .social-icon-two { display: flex; gap: 4px; margin: 0; padding: 0; }

.scroll-to-top {
  background-color: var(--hc-oxide);
  color: #ffffff;
  border-radius: 0;
  width: 48px;
  height: 48px;
  line-height: 48px;
}
.scroll-to-top:hover { background-color: var(--hc-core); color: #ffffff; }

/* --------------------------------------------------------------------------
   11. Arabic
   The Arabic build shipped with the Latin stack, so Arabic fell through to a
   system font. One family now carries both scripts.
   -------------------------------------------------------------------------- */
[dir="rtl"] body,
:lang(ar) body { font-family: var(--hc-body); }

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .sec-title h2,
[dir="rtl"] .hc-hero-panel h1,
[dir="rtl"] .theme-btn,
[dir="rtl"] .main-menu .navigation > li > a {
  font-family: var(--hc-body);
  font-weight: 700;
  font-variation-settings: normal;
  letter-spacing: 0;
}

/* Arabic runs taller; give it room. */
[dir="rtl"] .sec-title h2 { line-height: 1.35; }
[dir="rtl"] .hc-hero-panel h1 { line-height: 1.28; }
[dir="rtl"] .text, [dir="rtl"] .text p { line-height: 1.9; }

[dir="rtl"] .hc-hero-eyebrow,
[dir="rtl"] .sec-title .float-text,
[dir="rtl"] .fact-counter .counter-title,
[dir="rtl"] .hc-hero-specs li span,
[dir="rtl"] .feature-block .link-box a,
[dir="rtl"] .filter-btns .filter,
[dir="rtl"] .filter-tabs .filter {
  font-family: var(--hc-body);
  letter-spacing: 0;
}

/* Latin numerals and mono labels stay LTR inside Arabic prose. */
[dir="rtl"] .count-box .count-text,
[dir="rtl"] .hc-hero-specs li,
[dir="rtl"] .header-top .contact-list li { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .header-top .contact-list { text-align: start; }

[dir="rtl"] .main-menu .navigation > li { margin-inline-start: clamp(14px, 2vw, 30px); }

/* Template floats that don't flip on their own */
[dir="rtl"] .sticky-header .logo.pull-left { float: right; }
[dir="rtl"] .sticky-header .pull-right { float: left; }

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .main-menu .navigation > li { margin-inline-start: 16px; }
  .main-menu .navigation > li > a { font-size: 13px; padding: 26px 0; }
}

/* Tablet keeps the template's stacked logo-over-nav header — seven items will
   not fit beside the mark at this width — but loses the dead space. */
@media (max-width: 991px) {
  .main-menu .navigation > li { margin-inline-start: 12px; }
  .main-menu .navigation > li > a { font-size: 12px; letter-spacing: .05em; padding: 17px 0; }
  .main-menu .navigation > li > a::after { bottom: 11px; }
  .main-header .logo img, .sticky-header .logo img { max-width: 158px; }
  .main-header .logo-box .logo { padding-block: 10px; }
  .about-section .title-box h2 { font-size: clamp(34px, 9vw, 58px); }
}

/* The template collapses the navbar at 767px (navbar-expand-md) — the drawer
   treatment has to start at the same width, not earlier. */
@media (max-width: 767px) {
  .main-header .header-lower .main-box { display: flex; align-items: center; justify-content: space-between; }
  .main-header .nav-outer { position: static; }

  .main-menu .navbar-collapse {
    background-color: var(--hc-core);
    border-top: 3px solid var(--hc-oxide);
    padding: 6px 0 12px;
  }
  .main-menu .navigation > li {
    margin-inline-start: 0;
    border-bottom: 1px solid var(--hc-line-dark);
  }
  .main-menu .navigation > li:last-child { border-bottom: 0; }
  .main-menu .navigation > li > a {
    padding: 14px 18px;
    text-align: start;
    color: var(--hc-slate-lit);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .main-menu .navigation > li > a::after { display: none; }
  .main-menu .navigation > li:hover > a,
  .main-menu .navigation > li.current > a { color: var(--hc-surface); }
  .main-menu .navigation > li > ul { box-shadow: none; border-top: 0; background-color: var(--hc-core-2); }
  .main-menu .navigation > li > ul > li > a { padding: 12px 30px; min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 767px) {
  .main-header .header-top .inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-block: 8px;
  }
  .main-header .header-top .top-left,
  .main-header .header-top .top-right { float: none; width: 100%; }
  .main-header .header-top .contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin: 0;
  }
  .main-header .header-top .contact-list li { margin: 0; font-size: 12px; }
  .main-header .social-icon-four { display: flex; justify-content: center; margin: 0; }

  /* Below 768px the panel stops overlaying the photograph and takes its own
     ground under it — a phone has no room to do both well. */
  .banner-section-two .slide-item { height: clamp(280px, 38vh, 360px); }
  .banner-section-two .slide-item::before {
    background-image: linear-gradient(
      to bottom, rgba(23,22,26,.06) 0%, rgba(23,22,26,.30) 100%);
  }
  .hc-hero-thesis {
    position: static;
    inset: auto;
    margin-block-start: -1px;
  }
  .hc-hero-thesis .auto-container { max-width: none; padding-inline: 0; }
  .hc-hero-panel {
    max-width: none;
    background-color: var(--hc-core);
    padding: 30px var(--hc-gutter) 32px;
  }
  .hc-hero-specs { gap: 8px 20px; }

  .fact-counter .counter-column { margin-bottom: 26px; }

  .main-footer .footer-bottom .inner-container { flex-direction: column; text-align: center; }
  .main-footer .copyright-text p { justify-content: center; }

  .sec-title h2::after { max-inline-size: 78%; }
}

@media (max-width: 479px) {
  .hc-hero-actions .theme-btn { width: 100%; }
  .about-section .image-column .title-box h2 { font-size: 40px; }
  /* The template stacked these as full-width blocks; as tabs they wrap instead,
     so state this here rather than let a base rule win the cascade by accident. */
  .mixitup-gallery .filters li { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   13. Accessibility
   -------------------------------------------------------------------------- */

/* Placeholder-only fields had no accessible name; the label carries it without
   changing the template's composition. */
.hc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::placeholder { color: var(--hc-slate); opacity: 1; }

:focus-visible {
  outline: 3px solid var(--hc-oxide);
  outline-offset: 2px;
  border-radius: 0;
}
.main-header .header-top :focus-visible,
.main-footer :focus-visible,
.hc-hero-panel :focus-visible,
.fun-fact-and-features :focus-visible {
  outline-color: var(--hc-oxide-lit);
}

@media (prefers-reduced-motion: reduce) {
  /* Kill travel and looping, keep the state change readable — a blanket .001ms
     removes the feedback that tells you a control responded. */
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-property: color, background-color, border-color, outline-color, opacity !important;
    transition-duration: .12s !important;
    scroll-behavior: auto !important;
  }
  .wow { visibility: visible !important; animation-name: none !important; }
  .service-block-two .inner-box:hover .image-box .image img { transform: none; }
  .feature-block .inner-box:hover { transform: none; }
}
