﻿/*
  LeadForge visual system:
  white = clarity, black = authority, gold = premium trust.
*/
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #4f4f4f;
  --gold: #d4af37;
  --gold-dark: #b48d1f;
  --surface: #fafafa;
  --border: #e7e7e7;
  --radius: 18px;
  --shadow-soft: 0 14px 30px rgba(17, 17, 17, 0.07);
  --shadow-lg: 0 24px 50px rgba(17, 17, 17, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.14), transparent 26%),
    radial-gradient(circle at 95% 12%, rgba(0, 0, 0, 0.06), transparent 22%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.section-title {
  margin: 0 0 16px;
  font-family: "Outfit", "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0 auto 28px;
  color: var(--muted);
  max-width: 760px;
  text-align: center;
}

.highlight {
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.1);
  color: #6a5310;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #000000;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.28);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #111111;
  color: #111111;
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

/* Sticky header with logo and navigation links. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(17, 17, 17, 0.14);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 1rem;
  cursor: pointer;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
  flex: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #333333;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Hero copy + a clearer process card instead of raw metrics. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0 84px;
  background: linear-gradient(145deg, #f5f5f5 0%, #ffffff 70%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 30px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.hero-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 20px;
}

.hero-card .logo-simple {
  width: 80px;
  margin-bottom: 18px;
}

.hero-card h2 {
  margin: 0 0 12px;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.snapshot-flow {
  display: grid;
  gap: 10px;
}

.snapshot-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.snapshot-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  background: rgba(212, 175, 55, 0.18);
  color: #6b5413;
}

.intro-video-section {
  padding-top: 70px;
}

.intro-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.intro-video-media {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.intro-video-media video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: #111111;
}
.intro-video-copy .section-title {
  margin-bottom: 14px;
}

.intro-video-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.intro-video-note {
  margin: 0;
  font-weight: 700;
  color: #2a2a2a;
}

.alt-surface {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.pain-points,
.service-grid,
.portfolio-grid {
  display: grid;
  gap: 18px;
}

.pain-points,
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.point-card,
.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.36);
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.2), rgba(255, 255, 255, 0.95));
  color: #6b5413;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon.problem {
  border-color: rgba(17, 17, 17, 0.14);
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.05), rgba(212, 175, 55, 0.14));
}

.feature-icon.solution {
  border-color: rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.1);
}

.point-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.point-card h3,
.service-card h3 {
  margin: 0 0 10px;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 1.14rem;
}

.point-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
}

.services-note {
  margin: 20px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.service-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.portfolio-media {
  position: relative;
  overflow: hidden;
  background: #f4f4f4;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  gap: 10px;
}

.portfolio-media img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-media > :not(img):not(.portfolio-language-badge) {
  position: relative;
  z-index: 1;
}

.portfolio-media svg {
  color: #4a4a4a;
}

.portfolio-card:hover .portfolio-media img,
.portfolio-card:focus-within .portfolio-media img {
  transform: scale(1.035);
}

.portfolio-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.portfolio-card-link:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.44);
  outline-offset: -3px;
}

.portfolio-language-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(17, 17, 17, 0.76);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1;
}

.portfolio-content h3 {
  margin: 0;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 1.14rem;
}

.portfolio-content p {
  margin: 0;
  color: var(--muted);
}

.portfolio-card > h3 {
  margin: 16px 20px 10px;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 1.14rem;
}

.portfolio-card > p {
  margin: 0 20px;
  color: var(--muted);
}

.portfolio-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid #111111;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.portfolio-card-link:hover .portfolio-cta,
.portfolio-card-link:focus-visible .portfolio-cta {
  color: #111111;
  border-color: var(--gold-dark);
  background: rgba(212, 175, 55, 0.16);
}

.portfolio-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
}

.portfolio-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #111111;
  border-bottom: 2px solid #333333;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.portfolio-card > .portfolio-link {
  margin: 14px 20px 20px;
}

.portfolio-link:hover,
.portfolio-link:focus-visible {
  color: #000000;
  border-color: #000000;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.about-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.language-availability {
  margin: 14px 0 0;
  color: #383838;
  font-weight: 700;
}

.cta-band {
  background: #111111;
  color: #f8f8f8;
}

.cta-band-inner {
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 14px;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 26px;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact-intro ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  background: #ffffff;
}

.contact-form textarea {
  min-height: 104px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.contact-form button[disabled] {
  opacity: 0.8;
  cursor: wait;
}

.form-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-error {
  margin-top: 12px;
  color: #b00020;
}

/* Thank-you page layout reused across language versions. */
.thanks-main {
  min-height: calc(100vh - 170px);
  display: grid;
  align-items: center;
}

.thanks-card {
  margin: 34px auto 0;
  max-width: 760px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 26px;
  box-shadow: var(--shadow-lg);
}

.thanks-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #111111;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.52);
}

.thanks-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}

.thanks-card h1 {
  margin: 0 0 10px;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  letter-spacing: -0.02em;
}

.thanks-card p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
}

.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Footer clean layout with brand, social links, and legal access. */
.site-footer {
  background: #0f0f0f;
  color: #f2f2f2;
  padding: 54px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.footer-logo-wrap {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: #ffffff;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.footer-logo-wrap img {
  width: 46px;
}

.footer-brand strong {
  display: block;
  color: var(--gold);
  font-family: "Outfit", "Manrope", sans-serif;
  margin-bottom: 6px;
  font-size: 1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 370px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-languages-note {
  margin-top: 14px;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 1rem;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transition: all 0.22s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Social hover behavior: icon styling shifts to gold. */
.social-icon:hover,
.social-icon:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.copyright {
  margin: 24px auto 0;
  padding-top: 16px;
  width: min(1120px, 92vw);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Animation utility: JS adds .reveal and toggles .in-view with IntersectionObserver. */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Arabic pages keep rtl direction and use a modern Arabic font fallback. */
html[dir="rtl"] body {
  font-family: "Cairo", "Manrope", "Segoe UI", sans-serif;
}

html[dir="rtl"] .service-list,
html[dir="rtl"] .about-grid ul,
html[dir="rtl"] .contact-intro ul {
  padding-right: 18px;
  padding-left: 0;
}

html[dir="rtl"] .main-nav a::after {
  right: 0;
  left: auto;
}

html[dir="rtl"] .snapshot-item {
  text-align: right;
}

html[dir="rtl"] .portfolio-language-badge {
  right: 12px;
  left: auto;
}

@media (max-width: 1000px) {
  .hero-grid,
  .intro-video-grid,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 640px;
  }

  .pain-points,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 4vw 22px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
  }

  .nav-panel.open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  .hero {
    padding-top: 88px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 74px 0;
  }

  .hero {
    padding-bottom: 76px;
  }

  .hero-card,
  .point-card,
  .service-card,
  .contact-form {
    padding: 18px;
  }

  .portfolio-content {
    padding: 16px 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
