* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --border: 240 10% 20%;
}

body {
  font-family: "Cairo", sans-serif;
  background: hsl(220 25% 8% / 1);
  color: #fff;
  overflow-x: hidden;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  background: rgba(10, 14, 39, 0.8);
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #7c3aed;
}

.nav-links a.active {
  color: #7c3aed;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.nav-links.active {
  left: 0 !important;
  background: rgba(10, 14, 39, 0.98) !important;
}

/* Mobile-only items (Settings, Logout) */
.mobile-only {
  display: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a i {
  width: 20px;
  text-align: center;
}

.hamburger {
  width: 25px;
  height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 999px;
  transition: all 0.3s;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s;
}

.nav-btn:hover {
  transform: translateY(-2px);
}

/* Hero Section */
.about-hero {
  min-height: 60vh;
  margin-top: 0;
  padding: 8rem 10% 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, hsl(220 20% 18%) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(220 20% 18%) 1px, transparent 1px);
  background-size: 50px 50px;
  position: relative;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 50%);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  color: #a855f7;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.about-title {
  font-size: 4rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.highlight {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

/* Mission Section */
.mission-section {
  padding: 6rem 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  direction: ltr;
}

.mission-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: right;
}

.mission-content p {
  color: #94a3b8;
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  text-align: right;
}

.mission-image {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mission-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.icon-item {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 2.5rem;
  transition: transform 0.3s;
}

.icon-item:hover {
  transform: translateY(-10px);
}

/* Values Section */
.values-section {
  padding: 6rem 10%;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 4rem;
  text-align: center;
}

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

.value-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.5);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.value-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.value-desc {
  color: #94a3b8;
  line-height: 1.8;
}

/* Team Section */
.team-section {
  padding: 6rem 10%;
  text-align: center;
  background: linear-gradient(to right, hsl(220 20% 18%) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(220 20% 18%) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

.team-member {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.team-member:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.5);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.member-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-role {
  color: #a855f7;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.member-desc {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
  padding: 6rem 10%;
}

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

.stat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.5);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94a3b8;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 10%;
  text-align: center;
}

.cta-content {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 4rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.primary-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s;
  font-size: 1rem;
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 1rem;
}

.secondary-btn:hover {
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
}

/* Footer */
footer {
  padding: 3rem 5%;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  text-align: right;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #7c3aed;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  direction: ltr;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.social-icon:hover {
  background: rgba(124, 58, 237, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .mobile-only {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .logo img {
    height: 32px;
    max-width: 120px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    border-right: 1px solid rgba(124, 58, 237, 0.2);
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-btn {
    display: none;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-description {
    font-size: 1rem;
  }

  .mission-section {
    grid-template-columns: 1fr;
    padding: 4rem 5%;
  }

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

  .values-section,
  .team-section,
  .stats-section,
  .cta-section {
    padding: 4rem 5%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .about-hero {
    padding: 6rem 5% 3rem;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 2rem;
  }

  .icon-grid {
    grid-template-columns: 1fr;
  }
}

/* Language Switcher */
.lang-switcher {
  background: hsl(240, 20%, 15%);
  color: #fff;
  border: 1px solid hsl(260, 50%, 50%);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font-weight: 500;
  font-family: "Cairo", sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
  direction: ltr;
  appearance: none;
  -webkit-appearance: none;
}

.lang-switcher:hover {
  background: hsl(260, 30%, 25%);
  border-color: hsl(280, 70%, 60%);
}

.lang-switcher:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

/* Option text color */
.lang-switcher option {
  background: #1e1e2e;
  color: white;
}

/* Option text color */
.lang-switcher option {
  background: #1e1e2e;
  color: white;
}


@media (max-width: 768px) {
  .mission-image {
    display: none;
  }
}