/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f5f5f5;
  direction: rtl; /* for Arabic layout */
}

/* Container */
.document-types {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
}

/* Document Card */
.document {
  background: linear-gradient(135deg, #ebd291 30%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(25% - 40px);
  min-width: 220px;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Icon */
.document .icon {
  font-size: 4rem;
  margin-bottom: 15px;
  color: #b88a00;
  transition: color 0.3s ease;
}

.document:hover .icon {
  color: #ff6600;
}

/* Title */
.document h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #333;
}

.document h2 a {
  text-decoration: none;
  color: inherit;
}

/* Paragraph */
.document p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.document p a {
  text-decoration: none;
  color: #555;
}

.document p a:hover {
  color: #ff6600;
}
