/*----------------------------------------------------------------------------------------------------------------
Home Page Styling
-----------------------------------------------------------------------------------------------------------------*/

:root {
  --hover-width: 75%;
  --other-width: 25%;
  --bg-left-fill: rgba(87, 84, 236, 0.7);
  --bg-right-fill: rgba(43, 43, 43, 0.8);
  --btn-left-hover: rgba(87, 84, 236, 1);
  --btn-right-hover: rgba(28, 122, 28, 1);
  --font: 'Urbanist', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


body,
main [dir="rtl"] {
  font-family: 'Urbanist', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.btn-member {
  background: #fc7b30;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-member:hover {
  background: #ee7626;
  color: #fff;
  transform: translateY(-2px);
}

.btn-mentor {
  background: #fc7b30;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-mentor:hover {
  background: #ee7626;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .intro-container {
    min-height: 100vh !important;
  }
}

/*Our key features */
.feature-nav-section {
  background: #fff;
  padding: 3.5rem 0;
}

.feature-nav-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.feature-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}

.feature-nav li {
  position: relative;
  padding: 0.75rem 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: fit-content;
}

.feature-nav li:hover {
  color: #f47a1f;
}

.feature-nav li.active {
  color: #f47a1f;
}

.feature-nav li.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: #fc7b30;
}

.feature-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 2px;
}

.feature-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #fc7b30;
  border-radius: 2px;
}

.feature-nav-section[dir="rtl"] .feature-progress-bar {
  left: auto;
  /* Désactiver left en RTL */
  right: 0;
  /* Commencer à partir de la droite */
}

.feature-pane {
  display: none;
  width: 100%;
  text-align: center;
  padding: 1rem;
}

.feature-pane.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-pane img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
  .feature-nav-section {
    padding: 2.5rem 0;
  }

  .feature-nav {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .feature-nav li {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: calc(50% - 0.25rem);
    text-align: center;
  }

  .feature-progress {
    margin-bottom: 1.5rem;
  }

  .feature-pane {
    padding: 0.5rem;
  }

  .feature-pane img {
    max-height: 250px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .feature-pane img {
    max-height: 350px;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .feature-pane img {
    max-height: 380px;
  }
}

@media (min-width: 1200px) {
  .feature-pane img {
    max-height: 450px;
  }
}

@media (min-width: 1400px) {
  .feature-pane img {
    max-height: 500px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1210px;
  }

  .feature-pane img {
    max-height: 500px;
  }
}

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

.feature-pane img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/*Comparaison Avant et Après Wayo Section*/

.comparaisonSec {
  background: #f6f7fb;
  padding: 3.5rem 0;
}

.comparaisonSec h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
}

.sans-wayo {
  background: linear-gradient(135deg, #ffffff 0%, #ffebe0 100%);
}

.avec-wayo {
  background: linear-gradient(135deg, #ffffff 0%, #ffebe0 100%);
}

.badge-header {
  display: inline-block;
  padding: 2.5px 5.5px;
  border-radius: 0 8px 0 8px;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 30px;
}

.badge-sans {
  background: #dc3545;
  color: white;
}

.badge-avec {
  background: #0ca789;
  color: white;
}

.image-placeholder {
  border-radius: 15px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  margin-right: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.comparaisonSec[dir="rtl"] .feature-list li::before {
  margin-right: 0;
  margin-left: 12px;
}

.sans-wayo .feature-list li::before {
  content: '✕';
  background: #dc3545;
  color: white;
}

.avec-wayo .feature-list li::before {
  content: '✓';
  background: #0ca789;
  color: white;
}

@media (max-width: 768px) {
  .comparison-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .image-placeholder {
    height: 200px;
  }

  .feature-list li {
    font-size: 14px;
  }

}

/**/

/*Split plan Section*/
.pricing {
  padding: 3.5rem 0;
}

.pricing h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
}

.pricing .subtitle {
  text-align: center;
  color: var(--muted);
  margin: -4px auto 28px;
  max-width: 500px;
}

.split-plan-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  margin-top: 32px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: start;
}

.plan-details-split .plan-kicker {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: var(--orange-3);
  color: var(--orange);
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 12px;

}

.plan-details-split h3 {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.2;
}

.plan-details-split .plan-description {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.plan-price-split {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.plan-price-split .price-value {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 8px;
}

.price-details .price-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.price-details .price-period {
  color: var(--muted);
  font-weight: 600;
}

.plan-cta-split {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
}

.plan-guarantee {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

.plan-features-split h4 {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 20px;
}

.plan-features-split ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.plan-features-split li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fcfcfc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-features-split li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  color: #111;
}

.feature-icon.money {
  background: #fdeccf;
}

.feature-icon.users {
  background: #e9f3ff;
}

.feature-icon.course {
  background: #e9ffe9;
}

.feature-icon.social {
  background: #ffe9ef;
}

.feature-text h5 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
}

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

@media (max-width: 960px) {
  .split-plan-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px;
  }

  .plan-details-split {
    text-align: start;
  }

  .plan-price-split {
    justify-content: flex-start;
  }

  .price-details {
    align-items: flex-start;
  }
}

/**/
/* Price table */
.pricing-table {
  visibility: visible;
  opacity: 1;
}

/* .pricing {
  position: relative;
  background: #faf8f4;
  padding: 4rem 0;
  min-height: 100vh;
}

.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
} */

.pricing h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 3rem;
  margin-top: 2rem;
  font-weight: 700;
  color: #000000;
}

.pricing-table-container {
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: #fc7b30 #f0f0f0;
}

.pricing-table-container[dir="rtl"] {
  direction: rtl;
}

.pricing-table-container[dir="rtl"] .pricing-table {
  direction: rtl;
}

.pricing-table-container::-webkit-scrollbar {
  height: 8px;
}

.pricing-table-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.pricing-table-container::-webkit-scrollbar-thumb {
  background: #fc7b30;
  border-radius: 4px;
}

.pricing-table {
  width: 100%;
  min-width: 600px;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transform: translateY(0);
}

.pricing-table th,
.pricing-table td {
  padding: 16px 12px;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.pricing-table-container[dir="rtl"] .pricing-table th:nth-child(1),
.pricing-table-container[dir="rtl"] .pricing-table td:nth-child(1) {
  text-align: right !important;
  direction: rtl !important;
  font-family: Amiri, sans-serif !important;
}

.pricing-table thead th {
  background: #fc7b30;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.pricing-table-container[dir="rtl"] .pricing-table thead th {
  font-size: 1.4rem;
}

.pricing-table[dir="rtl"] thead th:first-child {
  border-top-right-radius: 12px;
  border-top-left-radius: 0;
}

.pricing-table[dir="rtl"] thead th:last-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 0;
}

.pricing-table tbody tr {
  transition: background-color 0.3s ease;
}

.pricing-table tbody tr:nth-child(even) {
  background: #faf8f4;
}

.pricing-table tbody tr:hover {
  background: #f5f5f5;
}

.feature {
  text-align: left !important;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.pricing-table-container[dir="rtl"] .feature {
  text-align: right !important;
  font-family: Amiri, sans-serif !important;
  font-size: 1.2rem;
}

.price-row {
  position: relative;
}

.price-row td {
  font-weight: 700;
  background: #fc7b30 !important;
  color: #fff !important;
  font-size: 1.1rem;
  padding: 20px 12px;
}

.pricing-table-container[dir="rtl"] .price-row td {
  font-size: 1.4rem;
}

.pricing-table td[data-plan] {
  font-weight: 600;
  color: #333;
}

.pricing-table-container[dir="rtl"] .pricing-table td[data-plan] {
  font-size: 1.2rem;
}

.pricing-table td:contains("✔") {
  color: #28a745;
  font-weight: bold;
}

.pricing-table-container[dir="rtl"] .pricing-table td:contains("✔") {
  font-size: 1.3rem;
}

.pricing-table td:contains("✖") {
  color: #dc3545;
  font-weight: bold;
}

.pricing-table-container[dir="rtl"] .pricing-table td:contains("✖") {
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .pricing {
    padding: 2rem 0;
    min-height: auto;
  }

  .pricing h2 {
    margin-bottom: 2rem;
    margin-top: 1rem;
  }

  .pricing-table {
    min-width: 500px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px 8px;
    font-size: 0.8rem;
  }

  .pricing-table-container[dir="rtl"] .pricing-table th,
  .pricing-table-container[dir="rtl"] .pricing-table td {
    font-size: 1.2rem;
  }

  .pricing-table thead th {
    font-size: 0.9rem;
  }

  .pricing-table-container[dir="rtl"] .pricing-table thead th {
    font-size: 1.4rem;
  }

  .feature {
    font-size: 0.85rem;
  }

  .pricing-table-container[dir="rtl"] .feature {
    font-size: 1.2rem;
  }

  .price-row td {
    font-size: 1rem;
    padding: 16px 8px;
  }

  .pricing-table-container[dir="rtl"] .price-row td {
    font-size: 1.4rem;
  }

  .container {
    padding: 0 0.5rem;
  }

  .pricing-table-container {
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .pricing-table {
    min-width: 450px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 6px;
    font-size: 0.7rem;
  }

  .pricing-table-container[dir="rtl"] .pricing-table th,
  .pricing-table-container[dir="rtl"] .pricing-table td {
    font-size: 1.0rem;
  }

  .pricing-table thead th {
    font-size: 0.8rem;
  }

  .pricing-table-container[dir="rtl"] .pricing-table thead th {
    font-size: 1.2rem;
  }

  .feature {
    font-size: 0.75rem;
  }

  .pricing-table-container[dir="rtl"] .feature {
    font-size: 1.0rem;
  }

  .price-row td {
    font-size: 0.9rem;
    padding: 14px 6px;
  }

  .pricing-table-container[dir="rtl"] .price-row td {
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) {
  .pricing-table {
    margin-top: 1rem;
  }

  .pricing-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .pricing-table th,
  .pricing-table td {
    padding: 18px 16px;
  }

  .pricing-table-container[dir="rtl"] .pricing-table th,
  .pricing-table-container[dir="rtl"] .pricing-table td {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .pricing-table-container::after {
    content: "← Faire défiler horizontalement →";
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
  }

  .pricing-table-container[dir="rtl"]::after {
    content: "→ مرر أفقيًا ←";
    font-size: 1.0rem;
  }
}


/* Why choose Wayo */
.features {
  background: #f4f4f4;
  padding: 6rem 0;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #000;
}

.features h2 span {
  color: #fc7b30;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #000;
}

.feature-item img {
  display: block;
  margin: 0 auto 1rem auto;
}

.feature-item p {
  font-size: 0.95rem;
  color: #333333;
}

/* Carousel formations*/
.courses {
  background: #fff;
  color: #000;
  padding: 4rem 0;
}

.courses h2 {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 700;
  color: #000;
}

.courses-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-slide {
  min-width: clamp(250px, 100%, 300px);
  flex: 0 0 clamp(250px, 90vw, 300px);
  background: #f4f4f4;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  /* Added for layout control */
  flex-direction: column;
  /* Added for vertical alignment */
  justify-content: space-between;
  /* Added to align CTA button */
}

.carousel-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.carousel-slide img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  object-fit: cover;
  /* Added to prevent image distortion */
}

.carousel-slide h3 {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  margin-bottom: 0.75rem;
  color: #000;
}

.carousel-slide p {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: #333333;
  margin-bottom: 2rem;
  max-height: 4em;
  /* Added to limit text height (~2 lines) */
  overflow: hidden;
  /* Added for truncation */
  text-overflow: ellipsis;
  /* Added for ellipsis */
  display: -webkit-box;
  /* Added for multi-line truncation */
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  /* Added for multi-line truncation */
}

.carousel-slide .cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #fc7b30;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  text-decoration: none;
}

.carousel-slide .cta:hover {
  background: #d65e10;
  transform: translateY(-2px);
}

.carousel-btn {
  background: #fc7b30;
  border: none;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2rem);
  width: clamp(40px, 10vw, 48px);
  height: clamp(40px, 10vw, 48px);
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.3s ease;
  display: none;
}

.carousel-btn:hover {
  background: #d65e10;
}

.carousel-btn.prev {
  left: clamp(-20px, -5vw, -24px);
}

.carousel-btn.next {
  right: clamp(-20px, -5vw, -24px);
}


@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc(33.33% - 20px);
  }

  .carousel-btn {
    display: block;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(25% - 20px);
  }
}

/*SUCCESS STORIES */
.success-stories {
  background: #fff;
  padding: 4rem 0;
}

.success-stories h2 {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 700;
  color: #000;
}

.stories-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.stories-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.stories-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.story-slide {
  min-width: clamp(250px, 100%, 320px);
  flex: 0 0 clamp(250px, 90vw, 320px);
  background: #f6f7fb;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px;
  /* Reduced from 360px */
  display: flex;
  flex-direction: column;
}

.story-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.story-slide img,
.story-slide video {
  width: 100%;
  display: block;
  border-bottom: 4px solid #fc7b30;
  max-height: 230px;
  object-fit: cover;
}

.story-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-info h3 {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  margin-bottom: 0.5rem;
  color: #000;
}

.story-info p {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: #333333;
  max-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.stories-btn {
  background: #fc7b30;
  border: none;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2rem);
  width: clamp(40px, 10vw, 52px);
  height: clamp(40px, 10vw, 52px);
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.3s ease;
  display: none;
}

.stories-btn:hover {
  background: #d65e10;
}

.stories-btn.prev {
  left: clamp(-20px, -5vw, -26px);
}

.stories-btn.next {
  right: clamp(-20px, -5vw, -26px);
}

.stories-cta {
  text-align: center;
  margin-top: 2rem;
}

.stories-cta .btn-outline {
  border: 2px solid #fc7b30;
  color: #fc7b30;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.stories-cta .btn-outline:hover {
  background: #fc7b30;
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .story-slide {
    flex: 0 0 calc(50% - 20px);
    min-height: 200px;
  }

  .stories-btn {
    display: block;
  }
}

@media (min-width: 1024px) {
  .story-slide {
    flex: 0 0 calc(33.33% - 20px);
  }
}

/*BENEFITS*/
.benefits {
  background: #fff;
  padding: 6rem 0;
}

.benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #000;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-box {
  background: #f6f7fb;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.benefit-box h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #000;
}

.benefit-box img {
  display: block;
  margin: 0 auto 1rem auto;
}

.benefit-box ul {
  text-align: left;
  list-style: none;
}

.benefits[dir="rtl"] .benefit-box ul {
  text-align: right;
  direction: rtl;
  /* Appliquer RTL uniquement aux listes */
}

.benefit-box li {
  font-size: 18px;
  line-height: 150%;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: #333333;
}

.benefits[dir="rtl"] .benefit-box li {
  padding-left: 0;
  padding-right: 1.5rem;
  /* Déplacer le padding à droite */
  text-align: right;
}

.benefit-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fc7b30;
  font-weight: 700;
}

.benefits[dir="rtl"] .benefit-box li::before {
  left: auto;
  right: 0;
  /* Déplacer le symbole ✓ à droite */
}

/*Mobile section -- App upcoming */
.app-coming-soon {
  padding: 3.5rem 0;
  background: #fff
}

.app-frame {
  position: relative;
  border-radius: 24px;
  border: 3px solid var(--orange);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .08);
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff
}

.app-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08)
}

.app-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  padding: 28px;
  align-items: center
}

.app-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow)
}

.app-copy {
  text-align: center
}

.app-kicker {
  letter-spacing: .08em;
  /* text-transform: uppercase; */
  color: #111;
  font-weight: 800
}

.app-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--orange);
  margin: .4rem 0 1rem;
  font-weight: 900
}

.stores {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap
}

@media (max-width: 768px) {
  .app-coming-soon .app-inner {
    grid-template-columns: 1fr;
  }
}

/* 
.white-bg {
  position: relative;
  background-color: #fff;
}
.app-coming-soon {
  position: relative;
  padding: 4rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border: 2px solid #fc7b30;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.app-coming-soon .decor-circle {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  opacity: 0.15;
  z-index: 1;
  fill: #fc7b30;
  pointer-events: none;
}

.app-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.app-image {
  flex: 1 1 400px;
  position: relative;
  text-align: center;
}
.app-image img {
  max-width: 100%;
  height: auto;
  transform: rotate(-5deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.app-content {
  flex: 1 1 400px;
  color: #000;
  text-align: left;
  font-family: "Urbanist", sans-serif;
}

.app-content[dir="rtl"] .app-subtitle {
  direction: rtl;
  text-align: right;
}

.app-content[dir="rtl"] .app-title {
  direction: rtl;
  text-align: right;
}

.app-subtitle {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #333333;
  text-transform: uppercase;
}

.app-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: #fc7b30;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.app-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.app-btn img {
  width: 180px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
} */

/* .app-btn:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
} 

/*------------------  */
/*Meet Mentors */

.meet-mentors {
  background: #f6f7fb;
  padding: 3.5rem 0;
}

.meet-mentors h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #000000;
}

.meet-mentors .subtitle {
  text-align: center;
  color: #333333;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.mentor-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.mentor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.mentor-card img {
  display: block;
  margin: 0 auto 1rem auto;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid #fc7b30;
}


.mentor-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #000;
  font-weight: 700;
}

.mentor-card .specialty {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.mentor-card .btn-mentors {
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1.5px solid #fc7b30;
  color: #000;
  border-radius: 14px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin-top: auto;
}

.mentor-card .btn-mentors:hover {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border: none;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .meet-mentors .mentors-grid {
    margin-inline: 1em;
  }
}

/**/
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Ajustez selon le ratio de vos vidéos */
  overflow: hidden;
}

video {
  width: 100%;
  height: 100%;
  /* object-fit: cover;  */
  display: block;
}


.btn-member,
.btn-mentor,
.carousel-slide,
.story-slide,
.mentor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, scale 0.3s ease;
}

.btn-member:hover,
.btn-mentor:hover,
.carousel-slide:hover,
.story-slide:hover,
.mentor-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

body .side-nav-title,
body .side-nav {
  font-family: 'Shayan', 'Cairo', 'Tajawal', 'Arial', sans-serif !important;
  font-size: 55px !important;
  font-weight: bold !important;
}

.btn-member:active,
.btn-mentor:active {
  opacity: 1 !important;
  background: #ee7626 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}




/* Hero section */

* {
  box-sizing: border-box
}

html,
main {
  margin: 0
}

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Effet mesh (dégradé tournant) */
.bg-mesh {
  position: absolute;
  /* ✅ fixé à la section hero */
  inset: -12vmax;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(40vmax 32vmax at 8% -10%, rgba(244, 122, 31, .10), transparent 60%),
    radial-gradient(45vmax 30vmax at 110% 0%, rgba(251, 176, 64, .08), transparent 60%),
    conic-gradient(from 0deg at 60% 40%, rgba(244, 122, 31, .06), transparent 35%, rgba(244, 122, 31, .05) 50%, transparent 75%, rgba(251, 176, 64, .07) 90%, transparent 100%);
  animation: meshSpin 50s linear infinite;
}

@keyframes meshSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Effet orbes lumineuses */
.bg-orbs {
  position: absolute;
  /* ✅ fixé à la section hero */
  inset: -10vh -10vw -10vh -10vw;
  z-index: -2;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: .26;
}

.o1 {
  width: 60vmin;
  height: 60vmin;
  background: radial-gradient(closest-side, rgba(244, 122, 31, .26), transparent 70%);
  left: -8vmin;
  top: -6vmin;
}

.o2 {
  width: 52vmin;
  height: 52vmin;
  background: radial-gradient(closest-side, rgba(251, 176, 64, .22), transparent 70%);
  right: -10vmin;
  top: 10vmin;
}

.o3 {
  width: 58vmin;
  height: 58vmin;
  background: radial-gradient(closest-side, rgba(244, 122, 31, .18), transparent 70%);
  left: 10vmin;
  bottom: -12vmin;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 100px 0 3.5rem;
  overflow: hidden
}

.hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.1;
  margin: 6px 0 10px;
  font-weight: 900;
  letter-spacing: -.02em
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero .sub {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}


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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .75rem 1.15rem;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  border: 0;
  transition: transform .18s, filter .18s, box-shadow .18s
}

.btn.accent {
  background: var(--linear-gradient-style-Wayo);
  color: #fff;
  box-shadow: 0 14px 28px rgba(244, 122, 31, .22)
}

.btn.outline {
  background: #fff;
  border: 1.5px solid #ffd7b7;
  color: var(--orange)
}

.btn:hover {
  transform: translateY(-1px)
}

.chip.pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06)
}

.chip-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #111
}

.chip-icon.money {
  background: #fdeccf
}

.chip-icon.users {
  background: #e9f3ff
}

.chip-icon.course {
  background: #e9ffe9
}

.chip-icon.social {
  background: #ffe9ef
}

.chip strong {
  font-weight: 900
}

.yt-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 24px 70px rgba(244, 122, 31, .22), 0 10px 24px rgba(0, 0, 0, .12)
}

/* .yt-card::before{content:""; position:absolute; inset:-2px; border-radius:26px; padding:2px; background:linear-gradient(140deg, rgba(244,122,31,.9), rgba(251,176,64,.9), rgba(244,122,31,.9)); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; animation:borderFlow 6s linear infinite} */


@keyframes borderFlow {
  to {
    filter: hue-rotate(360deg)
  }
}

.ratio-16x9 {
  /* aspect-rati o: 4/3; */
  width: 100%
}

.ratio-9x16 {
  aspect-ratio: 4/2;
  width: 100%;
}

.ratio-16x9 iframe,
.ratio-9x16 iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

.yt-mobile {
  display: none
}

.hero-glow {
  position: absolute;
  filter: blur(52px);
  opacity: .34;
  pointer-events: none;
  z-index: -1
}

.hero-glow.a {
  width: 560px;
  height: 560px;
  left: -160px;
  top: -160px;
  background: radial-gradient(closest-side, rgba(244, 122, 31, .28), transparent 70%)
}

.hero-glow.b {
  width: 620px;
  height: 620px;
  right: -240px;
  bottom: -260px;
  background: radial-gradient(closest-side, rgba(251, 176, 64, .22), transparent 70%)
}

.login-card {
  width: 340px;
  max-height: 78vh;
  pointer-events: auto;
  background: #fff;
  border: 1px solid var(--line, #ececec);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
  padding: 12px 12px 14px;
  position: relative
}

.login-card::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid var(--line, #ececec);
  border-top: 1px solid var(--line, #ececec);
  transform: rotate(45deg)
}

.login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 4px
}

.login-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: #20286f
}

.login-close {
  border: 0;
  background: #f2f3f7;
  color: #111;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer
}

.login-pane {
  padding: 2px 0
}

.login-field {
  display: grid;
  gap: 4px;
  margin: 8px 0
}

.login-field span {
  font-weight: 800
}

.login-field input {
  height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  border: 2px solid #ececec;
  font: inherit;
  outline: none;
  transition: .15s;
  background: #fff
}

.login-field input:focus {
  border-color: #ffd3b2;
  box-shadow: 0 0 0 4px rgba(244, 122, 31, .12)
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 8px
}

.login-check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: #3b3b3b
}

.login-check input {
  width: 16px;
  height: 16px
}

.login-link {
  font-weight: 900;
  color: var(--orange)
}

.login-submit {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  font-size: 1rem
}

.login-switch {
  margin: .65rem 0 0;
  text-align: center;
  color: #666;
  font-weight: 600;
  font-size: .95rem
}

.role-chooser {
  display: grid;
  gap: 10px;
  margin: 6px 0 8px
}

.role-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line, #ececec);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease
}

.role-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  border-color: #ffd7b7;
  background: #fffdf9
}

.role-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffefe1;
  color: #F47A1F;
  border: 1px solid #ffd7b7
}

.role-icon.star {
  background: #fff4cc;
  color: #f3a400;
  border-color: #ffe29a
}

.role-text h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  color: #111
}

.role-text p {
  margin: 2px 0 0;
  font-size: .92rem;
  color: #6b7280
}

.role-arrow {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f6f7fb;
  color: #111;
  font-weight: 900;
  font-size: 18px;
  border: 1px solid #ececec
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ratio-16x9 {
    aspect-ratio: 16/10;
  }

  .yt-desktop {
    display: block
  }

  .yt-mobile {
    display: none
  }

  .chips {
    justify-content: start;
  }
}

@media (max-width: 767px) {
  .ratio-16x9 {
    aspect-ratio: 16/9;
  }

  .yt-desktop {
    display: none
  }

  .yt-mobile {
    display: block
  }

  .hero-ctas {
    justify-content: start;
  }
}

@media (max-width:576px) {
  .login-card {
    width: min(94vw, 360px)
  }
}

/* Mobile Menu RTL Fix */
header[dir="rtl"] .offcanvas-header,
[dir="rtl"] .offcanvas-header {
  flex-direction: row-reverse;
}

/* Fix navigation alignment on 992px-1399px screens */
@media (min-width: 992px) and (max-width: 1399px) {
  body .container-customize {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .navbar-nav .nav-item {
    margin: 0 5px !important;
  }

  .navbar-nav .nav-link {
    font-size: 15px !important;
    padding: 0.5rem 0.8rem !important;
  }

  .btn-lang,
  .btn-custom,
  .switcher-trigger {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.9rem !important;
  }

  /* Fix username display - prevent wrapping */
  .navbar-user-profile .user-section {
    white-space: nowrap !important;
  }

  .navbar-user-profile .user-section span {
    white-space: nowrap !important;
  }
}