/* English LTR styles for About page */
/* Import RTL base and override direction-sensitive properties */
@import url("about.css");
*{
    font-family: "Cairo", Arial, sans-serif;

}
/* Global direction */
body {
  direction: ltr;

}

/* Navbar spacing for LTR */
.logo img {
  margin-right: 10px;
  margin-left: 0;
}

.nav-links li {
  margin-left: 25px;
  margin-right: 0;
}

.nav-links a::after {
  left: 0;
  right: auto;
}


/* Language toggle (ensure LTR look) */
.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.language-toggle .lang-btn {
  color: #334155;
  text-decoration: none;
  transition: color 0.3s;
}

.language-toggle .lang-btn:hover {
  color: #ED1A37;
}

.language-toggle .lang-current {
  color: #ED1A37;
  font-weight: 700;
}

.language-toggle .lang-separator {
  color: #d1d5db;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

/* Hero section alignment */
.hero-content {
  text-align: left;
  margin-left: 5%;
  margin-right: 0;
}
.card-header{
  width: 100%;
  
}
.modern-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    justify-content: flex-start;
}
.modern-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 300px;
    width: 120px;
    height: 120px;
    background: rgba(237, 26, 55, 0.05);
    border-radius: 50%;
    z-index: 0;
}
/* Cards and decorative elements to LTR */
.card-title::after {
  left: 0;
  right: auto;
}

.card-content p {
  padding-left: 25px;
  padding-right: 0;
}
.container {
  width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.card-content p::before {
  left: 0;
  right: auto;
}
.about-cards-container{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
@media (max-width: 1024px) {
    .about-cards-container {
        flex-direction: column;
        align-items:flex-start;
    }
  }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* Values title underline from left */
.value-title::after {
  left: 0;
  right: auto;
}

/* Footer LTR adjustments */
.footer-title::after {
  left: 0;
  right: auto;
}

.footer-logo img {
  margin-right: 10px;
  margin-left: 0;
}

.footer-links a:hover {
  padding-left: 5px;
  padding-right: 0;
}

.footer-contact svg {
  margin-right: 10px;
  margin-left: 0;
}
/* Mobile nav slide-in behavior unified with other pages */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    left: auto;
    background: white;
    width: 80%;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    transition: right 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
    left: auto;
  }

  .nav-links li {
    margin-left: 0;
  }
  .hero{
    line-height: 1.3;
    align-items: center;
  }
  .hero-content {
    text-align: center;
    justify-content: center;
    margin: 0;
  }
  .footer-title::after {
    left: 100px;
    right: auto;
  }
}