/* Orient Foresight Oy - Middle East Consulting */
:root {
  --color-bg: #0f0f0f;
  --color-bg-alt: #1a1a1a;
  --color-text: #e8e6e3;
  --color-text-muted: #9a9690;
  --color-accent: #2d7a6e;
  --color-accent-light: #3d9a8a;
  --color-border: #2a2a2a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: min(1200px, 92vw);
  --section-padding: clamp(3rem, 6vw, 5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 640px;
}

.container-split {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .container-split {
    grid-template-columns: 1fr 1fr;
  }
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  font-family: var(--font-body);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--color-text);
  border-color: var(--color-accent);
}

.lang-btn.active {
  background: rgba(45, 122, 110, 0.2);
}

@media (max-width: 991px) {
  .nav-right {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
  }

  .nav-right .btn.btn-primary {
    display: none;
  }

  .lang-btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.72rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-light);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.btn-light {
  background: #fff;
  color: var(--color-bg);
}

.btn-light:hover {
  background: #e8e6e3;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn-block {
  width: 100%;
  text-align: center;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  color: var(--color-text);
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
}

@media (max-width: 991px) {
  .nav-links.open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg) url('assets/hero-background.png') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 15, 0.4) 0%,
    rgba(15, 15, 15, 0.6) 40%,
    rgba(15, 15, 15, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 2rem;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.hero-badges span {
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.scroll-hint:hover {
  color: #fff;
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 0 1.5rem;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  max-width: 720px;
}

.services-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.5;
}

.services-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.services-pillars-block {
  margin-top: 3rem;
  padding: 2rem 2rem 2.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  max-width: 720px;
}

.services-pillars-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.pillars-in-services {
  margin: 0;
  justify-content: flex-start;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.pillars-in-services .pillar {
  color: var(--color-accent-light);
}

.pillars-in-services .pillar-sep {
  color: var(--color-border);
  font-weight: 400;
  margin: 0 0.25rem;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent-light);
}

.pillar-sep {
  color: var(--color-text-muted);
  font-weight: 400;
}

.contact-email {
  color: var(--color-accent-light);
  text-decoration: none;
  font-weight: 500;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-form-intro {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

/* RTL & Arabic */
html[dir="rtl"] body,
body.rtl {
  font-family: 'Noto Sans Arabic', 'Outfit', sans-serif;
}

body.rtl .nav,
body.rtl .container-split,
body.rtl .footer-links {
  direction: rtl;
}

body.rtl .services-list li {
  padding-left: 0;
  padding-right: 1.5rem;
}

body.rtl .services-list li::before {
  left: auto;
  right: 0;
}

/* Comparison block */
.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--color-bg-alt);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
  }
  .comparison-vs {
    text-align: center;
  }
}

.comparison-col h4,
.comparison-col-highlight h4 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
}

.comparison-col-highlight h4 {
  color: var(--color-accent-light);
}

.comparison-col ul,
.comparison-col-highlight ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.comparison-col-highlight ul {
  color: var(--color-text);
}

.comparison-col li,
.comparison-col-highlight li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.comparison-col li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #8a4a4a;
}

.comparison-col-highlight li::before {
  content: "✓";
  color: var(--color-accent);
}

.comparison-vs {
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding-top: 0.5rem;
}

/* Journey steps */
.subsection-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1.5rem;
  color: var(--color-text);
}

.journey-steps {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .journey-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.journey-step {
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.journey-step h5 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

.journey-step h6 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.journey-step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Feature cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-card {
  padding: 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.feature-card h5 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* About */
.about-image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
  border-radius: 12px;
}

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
}

.collage-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.collage-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.collage-item-main {
  grid-column: 1 / -1;
}

.collage-item .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collage-item-main .about-photo {
  aspect-ratio: 21/9;
  max-height: 340px;
}

.collage-item:not(.collage-item-main) .about-photo {
  aspect-ratio: 16/10;
  min-height: 200px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-content .section-title {
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  white-space: pre-line;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.about-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.about-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.about-content blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text);
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-accent);
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 1.5rem 0 0.5rem;
}

.about-subtitle:first-of-type {
  margin-top: 1rem;
}

.about-link {
  color: var(--color-accent-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-link:hover {
  text-decoration: underline;
}

.about-linkedin {
  margin-bottom: 0.75rem;
}

.about-lectures {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

/* Framework grid */
.framework-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.framework-card {
  padding: 1.75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.framework-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.framework-card h4 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.framework-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.framework-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.framework-card li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.framework-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Programs */
.programs-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  position: relative;
  padding: 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.program-card-featured {
  border-color: var(--color-accent);
  background: rgba(45, 122, 110, 0.08);
}

.program-badge {
  position: absolute;
  top: -0.6rem;
  left: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  background: var(--color-bg);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.program-card h4 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.program-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent-light);
  margin: 0 0 0.75rem;
}

.program-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.program-card ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.program-card li {
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.program-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.program-card .btn {
  width: 100%;
  text-align: center;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  font-weight: 500;
  color: var(--color-text);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 1.25rem;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Contact form */
.contact-form {
  margin-top: 2rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer-top {
  margin-bottom: 2rem;
}

.footer-top .logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-top p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 2.5rem;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.25rem 0;
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}
