/* ==========================================================================
   Dzairverse brand layer — palette from the 2024 brand guide
   #1C75F7 blue · #000000 black · #E6E6E6 grey · #FFFFFF white
   ========================================================================== */

:root {
  --primary-color: #1C75F7;
  --primary-deep: #0B49B8;
  --primary-soft: #6FB1FF;
  --primary-black-color: #000000;
  --surface-dark: #0A0A0A;
  --surface-dark-2: #111111;
  --grey-100: #E6E6E6;
  --grey-500: #8A8A8A;
  --body-font: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --heading-font: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--body-font);
  background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6,
.page-title, .hero-content h1, .marquee-item b {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

/* --- Logos ------------------------------------------------------------- */
.brand-logo img { max-height: 38px; width: auto; }
.footer-logo img { max-height: 42px; width: auto; }

/* --- Kill the stock template's decorative 3D spheres ------------------- */
/* They ship in purple/pink and fight the brand palette. */
.hero-ca .shape.element-one,
.hero-ca .shape.element-two,
.hero-ca .shape.element-three,
.hero-ca .shape.element-four,
.page-hero-ss .shape.element-one,
.page-hero-ss .shape.element-two,
.page-hero-ss .shape.element-three,
.page-hero-ss .shape.element-four,
.creative-agency-footer .shape.element-one,
.creative-agency-footer .shape.element-two,
.testimonial-slider-wrapper .shape.element-one,
.testimonial-slider-wrapper .shape.element-two {
  display: none !important;
}

/* Ambient glow, brand blue instead of the stock magenta */
.shape-blur-one span,
.shape-blur-two span {
  background: radial-gradient(circle, rgba(28, 117, 247, 0.30) 0%, rgba(28, 117, 247, 0) 70%) !important;
  filter: blur(40px);
}

/* --- Hero -------------------------------------------------------------- */
.hero-ca {
  background: var(--surface-dark);
  padding-top: 190px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

/* Faint engineering grid — quiet, on-brand texture */
.hero-ca::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-ca .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary-color);
}

.hero-ca .hero-content {
  text-align: start;
}

.hero-ca .hero-content h1 {
  font-size: clamp(72px, 13vw, 190px);
  line-height: 0.92;
  color: #FFFFFF;
  text-align: start;
  margin: 0;
}

.hero-ca .hero-content .hero-text {
  font-size: clamp(72px, 13vw, 190px);
  line-height: 0.92;
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-weight: 700;
  text-align: start;
}

.hero-ca .hero-content .hero-sub {
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--grey-100);
  font-family: var(--heading-font);
  font-weight: 400;
  margin-top: 18px;
}

.hero-intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
  max-width: 560px;
}

/* --- Stat strip -------------------------------------------------------- */
.stat-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 90px;
  padding-top: 42px;
}

.stat-item .stat-value {
  font-family: var(--heading-font);
  font-size: 46px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.stat-item .stat-label {
  display: block;
  margin-top: 10px;
  color: var(--grey-500);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* --- Buttons ----------------------------------------------------------- */
.theme-btn.style-one,
.theme-btn.style-two {
  background: var(--primary-color) !important;
  border-radius: 6px;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0;
  transition: background .25s ease, transform .25s ease;
}

.theme-btn.style-one:hover,
.theme-btn.style-two:hover {
  background: var(--primary-deep) !important;
  transform: translateY(-2px);
}

.theme-btn.btn-ghost {
  /* Matches .style-one's box so the two buttons sit level side by side. */
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 13px 22px;
  border-radius: 6px;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: border-color .25s ease, transform .25s ease;
}

.theme-btn.btn-ghost:hover {
  border-color: var(--primary-color);
  background: transparent !important;
}

/* --- Marquee ----------------------------------------------------------- */
.animated-big-text .marquee-item b {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}

.headline-wrap.style-two .marquee-item b {
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.14);
}

/* --- Section furniture ------------------------------------------------- */
.sub-title, .sub-heading {
  color: var(--primary-color) !important;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.section-title h2, .section-content-box h2 {
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Work / portfolio cards ------------------------------------------- */
.work-grid { --gap: 24px; }

.work-card {
  position: relative;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  padding: 34px 32px 30px;
  background: #FFFFFF;
  height: 100%;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.work-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.09);
}

.work-card .work-logo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: var(--surface-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 26px;
}

.work-card .work-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card .work-logo.contain img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.work-card .work-logo .monogram {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
}

.work-card .work-name {
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.work-card .work-desc {
  color: #5C5C5C;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.work-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--primary-color);
  background: rgba(28, 117, 247, 0.09);
  border-radius: 100px;
  padding: 5px 13px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: #000000;
}

.work-link i { color: var(--primary-color); transition: transform .25s ease; }
.work-card:hover .work-link i { transform: translateX(4px); }

.work-live {
  position: absolute;
  top: 26px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--grey-500);
}

.work-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

/* --- Service rows ------------------------------------------------------ */
.service-row {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  padding: 30px 6px;
  transition: padding-inline-start .3s ease, border-color .3s ease;
}

.service-row:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.09); }
.service-row:hover { padding-inline-start: 20px; border-color: var(--primary-color); }

.service-row .service-index {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  min-width: 42px;
}

.service-row .service-body { flex: 1; }

.service-row .service-name {
  font-family: var(--heading-font);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 600;
  color: #000000;
  margin: 0 0 6px;
}

.service-row .service-name a { color: inherit; }
.service-row:hover .service-name a { color: var(--primary-color); }

.service-row .service-desc {
  color: #5C5C5C;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
}

.service-row .service-go {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  flex-shrink: 0;
  transition: all .3s ease;
}

.service-row:hover .service-go {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #FFFFFF;
}

/* --- Dark section ------------------------------------------------------ */
.section-dark {
  background: var(--surface-dark);
  color: #FFFFFF;
}

.section-dark h2, .section-dark h3, .section-dark h4 { color: #FFFFFF; }
.section-dark p { color: rgba(255, 255, 255, 0.70); }

/* --- Team -------------------------------------------------------------- */
.team-card {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  transition: border-color .3s ease, transform .3s ease;
}

.team-card:hover { border-color: var(--primary-color); transform: translateY(-4px); }

.team-card .team-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #FFFFFF;
  font-family: var(--heading-font);
  font-size: 27px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
}

.team-card .team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-card .team-name {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #000;
}

.team-card .team-role { color: var(--primary-color); font-size: 14.5px; }

/* --- Contact / forms --------------------------------------------------- */
.form-control {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 15px 18px;
  font-family: var(--body-font);
  font-size: 15px;
  width: 100%;
  transition: border-color .2s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 117, 247, 0.12);
}

.contact-card {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}

.contact-card .contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(28, 117, 247, 0.10);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-card h5 { font-family: var(--heading-font); font-size: 16px; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: #5C5C5C; font-size: 15px; word-break: break-word; }
.contact-card a:hover { color: var(--primary-color); }

.alert-success {
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #157F3C;
  border-radius: 8px;
  padding: 14px 18px;
}

/* --- Footer ------------------------------------------------------------ */
.creative-agency-footer { background: var(--surface-dark); }
.creative-agency-footer .footer-top h2 { font-size: clamp(44px, 7vw, 96px); }
.creative-agency-footer .widget-title { font-family: var(--heading-font); font-size: 15px; letter-spacing: .06em; }
.creative-agency-footer .social-link a:hover { background: var(--primary-color); border-color: var(--primary-color); }

/* --- Header ------------------------------------------------------------ */
.header-area .main-menu ul li a { font-family: var(--heading-font); font-weight: 500; }
.header-area .main-menu ul li.active > a { color: var(--primary-color); }

.lang-switcher {
  display: inline-flex;
  gap: 4px;
  margin-inline-start: 16px;
  align-items: center;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--heading-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 7px;
  border-radius: 5px;
}

.lang-switcher a.active { color: #FFFFFF; background: rgba(255, 255, 255, 0.12); }
.lang-switcher a:hover { color: var(--primary-color); }

/* --- Inner page hero --------------------------------------------------- */
.page-hero-ss {
  background: var(--surface-dark);
  padding: 190px 0 110px;
}

.page-hero-ss .page-title { color: #FFFFFF; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; }
.page-hero-ss .page-lead { color: rgba(255, 255, 255, 0.65); font-size: 17px; line-height: 1.7; max-width: 620px; margin-top: 22px; }

/* --- Accordion --------------------------------------------------------- */
.accordion-card.style-one { border: 1px solid rgba(0, 0, 0, 0.09); border-radius: 12px; overflow: hidden; }
.accordion-card.style-one .accordion-title { font-family: var(--heading-font); padding: 20px 24px; cursor: pointer; margin: 0; font-size: 17px; }
.accordion-card.style-one .accordion-title:not(.collapsed) { color: var(--primary-color); }
.accordion-card.style-one .accordion-content { padding: 0 24px 22px; color: #5C5C5C; line-height: 1.7; }

/* --- Prose ------------------------------------------------------------- */
.prose p { color: #4A4A4A; font-size: 16.5px; line-height: 1.8; margin-bottom: 20px; }
.prose h2, .prose h3 { font-family: var(--heading-font); margin: 34px 0 16px; }
.prose ul { padding-inline-start: 20px; margin-bottom: 20px; }
.prose li { color: #4A4A4A; line-height: 1.8; margin-bottom: 8px; }

/* --- RTL --------------------------------------------------------------- */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .main-menu ul,
html[dir="rtl"] .social-link,
html[dir="rtl"] .prose ul { padding-right: 0; }
html[dir="rtl"] .hero-eyebrow::before { order: 2; }
html[dir="rtl"] .work-link i,
html[dir="rtl"] .service-row .service-go i { transform: scaleX(-1); }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 991px) {
  .hero-ca { padding-top: 140px; }
  .page-hero-ss { padding: 140px 0 80px; }
  .stat-strip { margin-top: 56px; }
  .service-row { gap: 18px; padding: 24px 0; }
  .service-row .service-index { min-width: 30px; font-size: 12.5px; }
}

@media (max-width: 575px) {
  .hero-content h1, .hero-content .hero-text { font-size: 58px; }
  .hero-button { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-button .theme-btn { flex: 1 1 auto; margin: 0 !important; }
  .work-card { padding: 26px 22px; }
  .stat-item { margin-bottom: 26px; }
}

/* --- Reveal safety net -------------------------------------------------
   AOS and GSAP both start elements hidden. If either fails to boot (slow
   network, blocked CDN, reduced-motion), content must still be readable. */
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

html.no-anim [data-aos] { opacity: 1 !important; transform: none !important; }

/* --- How we work ------------------------------------------------------- */
.step-card {
  border-top: 2px solid var(--primary-color);
  padding-top: 24px;
  height: 100%;
}

.step-number {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--primary-color);
}

.step-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin: 12px 0 12px;
}

.step-body {
  color: #5C5C5C;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* --- Stack strip ------------------------------------------------------- */
.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack-item {
  font-family: var(--heading-font);
  font-size: 14.5px;
  font-weight: 500;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 9px 18px;
  transition: border-color .25s ease, color .25s ease;
}

.stack-item:hover { border-color: var(--primary-color); color: var(--primary-soft); }

@media (max-width: 991px) {
  .section-dark .stack-list { margin-top: 26px; }
}

/* --- Contact captcha ---------------------------------------------------- */
/* Honeypot: kept in the layout but out of sight and out of the tab order. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 25px;
}

.captcha-image {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  background: #F6F8FB;
  flex: 0 0 auto;
}

.captcha-image img { display: block; max-width: 100%; height: auto; }

.captcha-refresh {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #5C5C5C;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: color .2s ease, border-color .2s ease;
}

.captcha-refresh:hover { color: var(--primary-color); border-color: var(--primary-color); }

.captcha-input { flex: 1 1 200px; }

.captcha-input label {
  display: block;
  font-size: 14px;
  color: #5C5C5C;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .captcha-row { gap: 14px; }
  .captcha-input { flex: 1 1 100%; }
}
