.description-crash {
  max-width: 95%;
  margin: 0 auto;
  background-color: #4EB8FF;
  padding: 20px clamp(20px, 0.5vw, 40px);
  box-sizing: border-box;
  text-align: center;
  border-radius: 0px;
  position: relative; /* باش نديروا الزر في الأعلى */
}

.description-crash h2 {
  font-size: 28px;
  color: FFDC00;
  margin-bottom: 15px;
}
#desc-content {
  white-space: pre-line;
}

.description-crash p {
  font-size: 17px;
  line-height: 1.7;
  color: #000;
  text-align: left; /* التوجيه الافتراضي */
}

/* الزر ديال الترجمة */
#translate-btn {
  width: 28px;
  height: 28px;
  perspective: 800px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 6px;
  right: 6px;
}

.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  object-fit: contain;
  top: 0;
  left: 0;
  border-radius: 6px;
}

.flip-card .back {
  transform: rotateY(180deg);
}

.box1 {
  background-color: #4EB8FF;
  border-radius : 0px;
}

.box2 {
  background: linear-gradient(150deg, #FFFC00, #FFCC02);
  border-radius : 0px;
}

.box3 {
  background-color: #4EB8FF;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.description-crash img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  transform: scale(1.05);
  margin: 0 auto;
  border-radius: 3px;
  object-fit: contain;
}
