/* ==========================================================================
   APUS WEBSITE - STYLESHEET
   Design System: Modern, Premium, High-Performance, Responsive
   Colors:
   - Primary Purple: #AB4CCC
   - Dark: #280C33
   - Light Purple: #E7C6F4
   - Secondary: #8C799B
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --primary-purple: #AB4CCC;
  --primary-purple-hover: #983bb7;
  --dark-bg: #280C33;
  --dark-surface: #1E0727;
  --light-purple: #E7C6F4;
  --light-purple-subtle: #F6EAFA;
  --secondary-purple: #8C799B;

  /* Neutral Spectrum (60% Light background principle) */
  --bg-light: #FAF7FC;
  --bg-white: #FFFFFF;
  --text-main: #1C0A28;
  --text-muted: #5C4B6B;
  --text-light: #FBF7FE;
  --border-light: rgba(171, 76, 204, 0.15);
  --border-dark: rgba(231, 198, 244, 0.15);

  /* Elevation Shadows & Glows */
  --shadow-sm: 0 4px 12px rgba(40, 12, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(40, 12, 51, 0.08);
  --shadow-lg: 0 16px 40px rgba(40, 12, 51, 0.12);
  --glow-purple: 0 0 25px rgba(171, 76, 204, 0.35);

  /* Fonts */
  --font-en-head: 'Outfit', -apple-system, sans-serif;
  --font-en-body: 'Inter', -apple-system, sans-serif;
  --font-ar: 'Cairo', sans-serif;

  /* Layout Constants */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1240px;
}

/* --------------------------------------------------------------------------
   02. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-en-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Arabic Font Override */
html[lang="ar"] body {
  font-family: var(--font-ar);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* RTL Helpers */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .fa-angle-right,
html[dir="rtl"] .fa-chevron-right,
html[dir="rtl"] .fa-arrow-right {
  transform: scaleX(-1);
}

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY & GRADIENTS
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-en-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
  font-family: var(--font-ar);
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #8327A7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.purple-highlight {
  color: var(--primary-purple);
}

.block-title {
  display: block;
  margin-top: 4px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-purple);
  background: var(--light-purple-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.tag-purple {
  background: rgba(171, 76, 204, 0.2);
  color: var(--light-purple);
  border-color: rgba(231, 198, 244, 0.3);
}

.tag-light {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.text-white {
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   04. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.light-purple-bg {
  background-color: #F6EFFB;
}

.dark-bg {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   05. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-purple);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(171, 76, 204, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-purple-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

.btn-secondary {
  background-color: var(--dark-bg);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #3B1449;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary-purple);
  color: var(--primary-purple);
}

.btn-outline:hover {
  background: var(--light-purple-subtle);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-link {
  color: var(--primary-purple);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-link:hover {
  gap: 10px;
  color: var(--primary-purple-hover);
}

/* --------------------------------------------------------------------------
   06. 00 - NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(40, 12, 51, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--light-purple);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apus-img-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo .logo-main {
  filter: brightness(0.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.navbar.scrolled .brand-logo .logo-main {
  filter: brightness(1) drop-shadow(0 2px 8px rgba(171, 76, 204, 0.4));
}

.footer-logo .apus-img-logo {
  height: 72px;
  filter: brightness(1);
}

.about-brand-logo-img {
  height: 95px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 24px auto;
  display: block;
  filter: brightness(1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-purple);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-purple);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(171, 76, 204, 0.1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-bg);
  transition: var(--transition);
}

.navbar.scrolled .lang-toggle-btn {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-toggle-btn:hover {
  background: var(--primary-purple);
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--dark-bg);
}

.navbar.scrolled .mobile-toggle {
  color: #FFFFFF;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
}

/* --------------------------------------------------------------------------
   07. 01 - HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.45;
}

.hero-glow-1 {
  width: 450px;
  height: 450px;
  background: var(--light-purple);
  top: -100px;
  right: -100px;
}

.hero-glow-2 {
  width: 350px;
  height: 350px;
  background: var(--primary-purple);
  bottom: -50px;
  left: -100px;
  opacity: 0.2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-purple);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(171, 76, 204, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(171, 76, 204, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(171, 76, 204, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(171, 76, 204, 0);
  }
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
}

.visual-card-wrapper {
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF3FC 100%);
  border: 1px solid rgba(171, 76, 204, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.dynamic-visual-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  text-align: center;
}

.visual-swift-container {
  width: 110px;
  height: 90px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-swift-img {
  width: 90px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(171, 76, 204, 0.45));
  animation: float-bird 4s ease-in-out infinite;
}

@keyframes float-bird {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}

.bird-path {
  transition: var(--transition);
}

.ticker-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ticker-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--secondary-purple);
}

.ticker-word-box {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dynamic-word {
  font-family: var(--font-en-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-bg);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

html[lang="ar"] .dynamic-word {
  font-family: var(--font-ar);
}

.dynamic-word.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.dynamic-word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Nodes around Visual */
.visual-node {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-bg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float-node 5s ease-in-out infinite alternate;
}

.visual-node i {
  color: var(--primary-purple);
}

.node-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.node-2 {
  top: 10px;
  right: 0;
  animation-delay: 1s;
}

.node-3 {
  bottom: 10px;
  left: -10px;
  animation-delay: 2s;
}

.node-4 {
  bottom: 0;
  right: 0;
  animation-delay: 1.5s;
}

@keyframes float-node {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* --------------------------------------------------------------------------
   08. 02 - TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--dark-bg);
  color: #FFFFFF;
  padding: 24px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-item i {
  color: var(--light-purple);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   09. 03 - THE APUS IDEA
   -------------------------------------------------------------------------- */
.idea-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.idea-heading {
  font-size: 2.4rem;
}

.idea-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
}

.quote-box {
  background: #FFFFFF;
  border-left: 4px solid var(--primary-purple);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

html[dir="rtl"] .quote-box {
  border-left: none;
  border-right: 4px solid var(--primary-purple);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.quote-box p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.idea-text {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.specialist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-tag {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-bg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.spec-tag i {
  color: var(--primary-purple);
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. 04 - WHY APUS?
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  gap: 24px;
  margin-top: 50px;
}

.cards-grid.4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-purple);
}

.card-num {
  font-family: var(--font-en-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(171, 76, 204, 0.2);
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark-bg);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. 05 - WHAT WE DO (PILLARS)
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-purple);
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pillar-num {
  font-weight: 800;
  color: var(--secondary-purple);
}

.pillar-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: var(--light-purple-subtle);
  color: var(--primary-purple);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.pillar-list {
  margin-bottom: 24px;
  flex-grow: 1;
}

.pillar-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-list li i {
  color: var(--primary-purple);
  font-size: 0.8rem;
}

.pillar-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-purple);
  margin-top: auto;
}

.pillars-footer-banner {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1A0423 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 40px;
  border: 1px solid var(--border-dark);
}

.pillars-footer-banner h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   12. 06 - THE APUS MODEL
   -------------------------------------------------------------------------- */
.model-visual-wrapper {
  margin: 60px 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
}

.model-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tree-node {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.root-node {
  background: var(--primary-purple);
  border-color: var(--light-purple);
  font-size: 1.1rem;
  padding: 16px 36px;
  box-shadow: var(--glow-purple);
}

.node-bird-img {
  width: 26px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  background: transparent;
}

.tree-pillars {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.pillar-node {
  background: rgba(231, 198, 244, 0.12);
  border-color: rgba(231, 198, 244, 0.3);
}

.pillar-node i {
  color: var(--light-purple);
}

.growth-node {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: none;
  font-size: 1.05rem;
  padding: 16px 36px;
}

.branch-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--primary-purple), var(--light-purple));
}

.model-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.perk-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.perk-box i {
  font-size: 1.8rem;
  color: var(--light-purple);
  margin-bottom: 12px;
}

.perk-box h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.perk-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   13. 07 - APUS VS TRADITIONAL AGENCY
   -------------------------------------------------------------------------- */
.comparison-table-wrapper {
  margin-top: 50px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  text-align: left;
}

html[dir="rtl"] .comparison-table th,
html[dir="rtl"] .comparison-table td {
  text-align: right;
}

.comparison-table th {
  background: var(--bg-light);
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-light);
}

.comparison-table th.highlighted {
  background: var(--dark-bg);
  color: #FFFFFF;
}

.th-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-logo-img {
  width: 26px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.comparison-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border-light);
}

.col-feature {
  width: 30%;
}

.col-apus {
  width: 35%;
  background: rgba(171, 76, 204, 0.04);
}

.col-agency {
  width: 35%;
}

.apus-cell {
  background: rgba(171, 76, 204, 0.04);
  font-weight: 600;
  color: var(--dark-bg);
}

.apus-cell i {
  color: #10B981;
  margin-right: 8px;
}

html[dir="rtl"] .apus-cell i {
  margin-right: 0;
  margin-left: 8px;
}

.agency-cell {
  color: var(--text-muted);
}

.agency-cell i {
  color: #EF4444;
  margin-right: 8px;
}

html[dir="rtl"] .agency-cell i {
  margin-right: 0;
  margin-left: 8px;
}

.impact-banner {
  text-align: center;
  margin-top: 40px;
}

.impact-banner h3 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   14. 08 - OUR PROCESS
   -------------------------------------------------------------------------- */
.process-timeline-wrapper {
  margin-top: 50px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.process-timeline {
  display: flex;
  gap: 20px;
  min-width: 1000px;
}

.process-step {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-md);
}

.step-badge {
  width: 40px;
  height: 40px;
  background: var(--light-purple-subtle);
  color: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;

}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.step-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-purple);
  color: #FFFFFF;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  z-index: 2;
}

html[dir="rtl"] .step-arrow {
  right: auto;
  left: -12px;
}



/* --------------------------------------------------------------------------
   16. 10 - CLIENTS
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-logo-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 90px;
  transition: var(--transition);
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-md);
}

.client-logo-card img {
  max-height: 55px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--transition);
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   17. 11 - RESULTS / PROOF
   -------------------------------------------------------------------------- */
.proof-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #762297 100%);
  color: #FFFFFF;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px 0 30px;
}

.stat-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 36px 20px;
  border-radius: var(--radius-md);
}

.stat-number {
  font-family: var(--font-en-head);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.disclaimer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   18. 12 - WHAT DRIVES US (VALUES)
   -------------------------------------------------------------------------- */
.values-accordion {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.value-header h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-header h3 i {
  color: var(--primary-purple);
}

.value-icon {
  color: var(--primary-purple);
  transition: transform 0.3s ease;
}

.value-item.active .value-icon {
  transform: rotate(45deg);
}

.value-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
}

.value-item.active .value-content {
  max-height: 200px;
  padding: 0 28px 24px;
}

.value-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   19. 13 - ABOUT APUS
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-checklist {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--dark-bg);
}

.about-checklist li i {
  color: var(--primary-purple);
}

.graphic-card {
  background: var(--dark-bg);
  border-radius: var(--radius-lg);
  padding: 50px 36px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary-purple);
  filter: blur(80px);
  top: -50px;
  right: -50px;
  opacity: 0.5;
}

.badge-ring {
  width: 70px;
  height: 70px;
  background: rgba(171, 76, 204, 0.2);
  border: 1px solid var(--light-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--light-purple);
}

.graphic-card h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.graphic-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   20. 14 - VISION / MISSION
   -------------------------------------------------------------------------- */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.vm-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
}

.vm-icon {
  width: 50px;
  height: 50px;
  background: var(--light-purple-subtle);
  color: var(--primary-purple);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.vm-card h3 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--secondary-purple);
  margin-bottom: 14px;
}

.vm-card blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark-bg);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   21. 15 - FINAL CTA
   -------------------------------------------------------------------------- */
.final-cta-section {
  background: var(--dark-bg);
  padding: 100px 0;
  position: relative;
}

.cta-box {
  max-width: 840px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.8rem;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   22. 16 - CONTACT FORM & BOOKING
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-details {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-item i {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.detail-item h4 {
  font-size: 0.9rem;
  color: var(--secondary-purple);
  margin-bottom: 2px;
}

.detail-item a,
.detail-item p {
  font-weight: 600;
  color: var(--dark-bg);
}

.booking-promo-card {
  background: var(--light-purple-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.promo-icon {
  font-size: 2rem;
  color: var(--primary-purple);
}

.booking-promo-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.booking-promo-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Contact Form */
.contact-form-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-bg);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-purple);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(171, 76, 204, 0.1);
}

/* --------------------------------------------------------------------------
   23. 17 - FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark-bg);
  color: #FFFFFF;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo .logo-text {
  color: #FFFFFF;
}

.footer-tagline {
  font-weight: 700;
  color: var(--light-purple);
  margin: 12px 0 8px;
}

.footer-motto {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-nav h4,
.footer-social h4 {
  font-size: 1rem;
  color: var(--light-purple);
  margin-bottom: 20px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--light-purple);
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-purple);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   24. MODALS & TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40, 12, 51, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--secondary-purple);
  line-height: 1;
}

html[dir="rtl"] .modal-close {
  right: auto;
  left: 20px;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header-icon {
  font-size: 2.2rem;
  color: var(--primary-purple);
  margin-bottom: 10px;
}

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

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.time-slot-btn {
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-bg);
  transition: var(--transition);
}

.time-slot-btn.selected,
.time-slot-btn:hover {
  background: var(--primary-purple);
  color: #FFFFFF;
  border-color: var(--primary-purple);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--dark-bg);
  color: #FFFFFF;
  border: 1px solid var(--light-purple);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

html[dir="rtl"] .toast {
  right: auto;
  left: 30px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: #10B981;
  font-size: 1.2rem;
}

/* Case Study Modal Custom Layout */
.case-modal-content {
  max-width: 720px;
}

.case-modal-header {
  margin-bottom: 20px;
}

.case-modal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.case-detail-block {
  margin-bottom: 16px;
}

.case-detail-block h4 {
  font-size: 0.95rem;
  color: var(--primary-purple);
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   25. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  .hero-container,
  .idea-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .cards-grid.4-cols,
  .pillars-grid,
  .stats-grid,
  .model-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  html[dir="rtl"] .nav-menu {
    right: auto;
    left: -100%;
    transition: left 0.4s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  html[dir="rtl"] .nav-menu.active {
    left: 0;
  }

  .nav-menu .nav-link {
    color: #FFFFFF;
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .portfolio-grid,
  .vm-grid,
  .cards-grid.4-cols,
  .pillars-grid,
  .stats-grid,
  .model-perks-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}