/* Custom styles for LYÃN-like one-page site */
:root {
  --accent: #ffd400;
  --dark: #111111;
  --muted: #666666;
}

.bg-yellow { background: var(--accent); }

html, body {
  scroll-behavior: smooth;
  font-family: "Raleway";
}

.rtl { font-family: "Tajawal"!important; }


.langbar {
  position: sticky; top: 0; z-index: 1050;
  background: #0f0f0f; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.langbar .container { display:flex; align-items:center; gap:.75rem; padding:.5rem 0; }
.langbar .brand { font-weight:800; letter-spacing:.04em; }
.lang-toggle .btn { border-radius: 999px; }
.lang-toggle .btn.active { background:#ffd400; color:#000; border-color:#ffd400; }
/* Optional placeholder while loading */
#app.loading::before {
  content:""; display:block; height:4px; background:linear-gradient(90deg,#ffd400,#ffe868,#ffd400);
  animation: loadbar 1.2s linear infinite;
}
@keyframes loadbar { 0%{background-position:0 0} 100%{background-position:200% 0} }
/* Arabic tweak: move logical border in RTL for your badge card header */
html[dir="rtl"] .border-left { border-left: 0 !important; border-right: 3px solid rgba(0,0,0,.35) !important; }
/* Ensure container adopts page content without extra margins */
#app > *:first-child { margin-top: 0 !important; }

.navbar-brand img {
  height: 28px;
}

.brand {
  height: 38px;
  width: 46px;              /* or whatever fits your layout */
  background-size: contain;  /* scale image to fit */
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;     /* so height/width apply without content */
}

.accent-bar {
  background: var(--accent);
  height: 6px;
  width: 100%;
}


.section {
  padding: 80px 0;
}

.section-title {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.rtl .section-title {letter-spacing:0;}

.feature-tile {
  background: var(--accent);
  padding: 1.25rem;
  border-radius: .5rem;
  height: 100%;
}

.feature-tile {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-tile:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.icon-xl {
  font-size: 2rem;
}

.divider {
  height: 1px;
  background: #e9ecef;
  margin: 3rem 0;
}

.card-minimal {
  border: 1px solid #efefef;
  border-radius: .75rem;
  padding: 1.25rem;
  height: 100%;
}

.card-minimal {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  
}

.card-minimal:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateY(-3px);
  background-color: #ededed;
}
.stamp {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 700;
}

.list-check li {
  margin-bottom: .5rem;
}

.benefit {
  display: flex;
  align-items: start;
  gap: .75rem;
  margin-bottom: 1rem;
}

.footer {
  background: #0f0f0f;
  color: #bbb;
  padding-top: 60px;
}

.footer a {
  color: #ddd;
  text-decoration: none;
}

.footer .social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1a1a1a;
  margin-right: .5rem;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1030;
  display: none;
}

.back-to-top.show {
  display: inline-flex;
}

.tajawal-extralight {
  font-family: "Tajawal", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.tajawal-light {
  font-family: "Tajawal", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.tajawal-regular {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.tajawal-medium {
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.tajawal-bold {
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.tajawal-extrabold {
  font-family: "Tajawal", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.tajawal-black {
  font-family: "Tajawal", sans-serif;
  font-weight: 900;
  font-style: normal;
}



.raleway-bold {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}




/* === Hero slider === */
.hero { position: relative; min-height: 66vh; overflow: hidden; color:#000; }
.hero .hero-content { position: relative; z-index: 2; }

.hero-slider {
  position: absolute; inset: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  transition: transform .6s cubic-bezier(.25,.8,.25,1);
}
.hero-slide {
  background-size: cover; background-position: center;
  filter: saturate(1.05);
}
.hero::after { /* soft white wash over bg for legibility */
  content:""; position:absolute; inset:0; background:rgba(255,255,255,.28); z-index:1;
}

/* Keep the background track LTR even on RTL pages */
[dir="rtl"] .hero-slider { direction: ltr; }


/* Badge cards stack, only one visible at a time */
.badge-cards { position: relative; min-height: 220px; }
.badge-card {
  background: var(--accent); color:#000; padding: 2rem; max-width: 533px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18); border-radius: .5rem;
  position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateX(40px) scale(.98);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1.2);
}
.badge-card.active {
  opacity: 1; transform: translateX(0) scale(1);
}
.badge-card.exiting {
  opacity: 0; transform: translateX(-40px) scale(.98);
}

/* Tiny helpers for the header text size in the card */
.big-5 { font-size: 5rem; }
.big-3 { font-size: 3rem; letter-spacing: .04em; }

.border-left {
  border-left: 1px #000 solid;
  margin-left: 1em;
  padding-left: 1em;
}

.border-right {
  border-right: 1px #000 solid;
  margin-right: 1em;
  padding-right: 1em;
}

.text-sm {font-size: 80%;}      
