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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.rtl .language-switcher {
  right: auto;
  left: 20px;
}

.language-switcher a {
  display: inline-block;
  font-size: 2em;
  text-decoration: none;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.language-switcher a.active {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 56, 184, 0.3);
}

.language-switcher a.inactive {
  opacity: 0.7;
}

.language-switcher a.inactive:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* RTL Support */
.rtl {
  direction: rtl;
  text-align: right;
}

.rtl h1,
.rtl h2,
.rtl h3,
.rtl h4,
.rtl h5,
.rtl h6 {
  text-align: right;
}

/* Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: #0038b8;
  transition: color 0.3s ease;
}

a:hover {
  color: #002a8a;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .language-switcher {
    top: 15px;
    right: 15px;
  }

  .rtl .language-switcher {
    left: 15px;
  }

  .language-switcher a {
    font-size: 1.5em;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .language-switcher {
    top: 10px;
    right: 10px;
  }

  .rtl .language-switcher {
    left: 10px;
  }
}

/* Print Styles */
@media print {
  .language-switcher {
    display: none;
  }

  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}