/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'IBM Plex Arabic', Arial, sans-serif;
  direction: rtl;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #ffffff;
  overflow-x: hidden;
  transition: background-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', 'IBM Plex Arabic', Arial, sans-serif;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ddd;
  padding: 0.75rem;
  border-radius: 4px;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

/* Smooth transitions for interactive elements */
*, *::before, *::after {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disable transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none;
  }
}