/* =========================================================
   GLOBAL RTL SETUP
========================================================= */

html {
  direction: rtl;
}

body {
  text-align: right;
  font-family: "RBType", sans-serif;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
  margin-right: auto;
  margin-left: auto;
}

/* =========================================================
   SECTION DECORATION (FLIPPED)
========================================================= */

section::before {
  right: auto;
  left: -250px;
  background-position: left center;
  transform: translateX(-45%);
}

/* =========================================================
   HEADER / NAV
========================================================= */

.nav {
  flex-direction: row-reverse;
}

.menu {
  flex-direction: row-reverse;
}

.menu-toggle {
  margin-right: auto;
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
  linear-gradient(to left, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .15) 65%, rgba(0, 0, 0, .1) 100%),
  url("../imgs/hero.jpg") center left / cover no-repeat;
  direction: ltr;
}

.hero-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.hero-text {
  text-align: right;
}

/* =========================================================
   VISION
========================================================= */

.vision {
  text-align: center;
}

.vision-grid {
  text-align: right;
}

/* =========================================================
   PROCESS TIMELINE
========================================================= */

.process-line {
  background:
    linear-gradient(to left, rgba(0, 0, 0, .95), rgba(0, 0, 0, .55)),
    url("../imgs/mic.jpg") center left / cover no-repeat;
}

.timeline {
  flex-direction: row-reverse;
}

.line {
  margin: 0 10px;
}

.process-content {
  text-align: right;
}

/* =========================================================
   FEATURE BLOCKS
========================================================= */

.feature-box::before {
  background: linear-gradient(to left, rgba(0, 0, 0, .75), rgba(0, 0, 0, .35));
}

.feature-box h3,
.feature-box p {
  text-align: right;
}

/* =========================================================
   PARTNER
========================================================= */

.partner-grid {
  grid-template-columns: 1fr 1.2fr;
}

.partner-main,
.partner-box {
  text-align: right;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-layout {
  grid-template-columns: 420px 1fr;
}

.contact-form {
  text-align: right;
}

.contact-form label {
  text-align: right;
}

/* =========================================================
   FOOTER
========================================================= */

.footer-layout {
  grid-template-columns: 1fr 1fr 1.4fr;
}

.footer-bottom {
  flex-direction: row-reverse;
}

footer::before {
  right: -250px;
  left: auto;
  background-position: right center;
  transform: translateX(45%);
}

/* =========================================================
   RESPONSIVE (RTL SAFE)
========================================================= */

@media (max-width: 900px) {

  .hero-grid,
  .vision-grid,
  .process-content,
  .feature-grid,
  .partner-grid,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: auto;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .menu li {
    text-align: right;
    padding: 14px 24px;
    font-size: 15px;
  }

  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .vision-grid {
    text-align: center;
  }

  .process-item {
    text-align: center;
  }
}