/* .plan_content {
    display: none;
} */
#hero h1{
    color: black;
    font-family: "bahij";
    font-size: 5rem; !important
}
#hero h2{
    color: black;
    font-family: "bahij";
}
#hero.hero p{
    font-family: "dubai";
    font-size: 60px; !important
}

.hero__padding {
    padding-top: 100px;
    padding-bottom: 50px;
}

.bg-one {
   /* background-color: #008ed65c; 
    background: radial-gradient(circle at center, #a5c7eb 0%, #6aa6f0 100%); */
    background-image: radial-gradient(circle at center, #5fa6f296, #1681f395);
}

.gallery__btn {
    border-color: #5c6ca5;
}

.badge-text{
    color: white;
    padding-bottom: 30px;
}

.hero .button {
    padding: 10px 20px;
    background: #0c5fee;
    font-size: larger;
}

.booksv1__item--text {
    margin-right: 20px;
}

#books p{
    font-size: 20px;
}

.section-padding {
    padding: 40px 0;
}

.achievement__content p {
    margin-bottom: 10px;
    margin-left: 20px;
}

/* حاوي الأزرار لضمان وجودها في صف واحد وتنسيق الاتجاه */
.nav-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  direction: rtl;
}

/* تنسيق الزر الأساسي والحركة */
.nav-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2b2d42;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  
  /* الانتقال الناعم للحركة */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* تأثير الحركة عند تحريك الماوس فوق الزر (Hover) */
.nav-btn:hover {
  background-color: #3d405b;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* تأثير الضغط على الزر */
.nav-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}



.books-page {
  direction: rtl;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.8;
}

.page-header h1 {
  text-align: center;
  margin-bottom: 30px;
}

/* قسم المقدمة */
.intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.intro-text {
  flex: 2;
  min-width: 300px;
}

.intro-image {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.instruction {
  font-weight: bold;
  margin-top: 15px;
}

/* معرض الكتب */
.books-gallery-section {
  margin: 50px 0;
}

.books-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.book-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card img {
  width: 100%;
  height: auto;
  display: block;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* قسم تفاصيل الميزات */
.details-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.details-column {
  flex: 1;
  min-width: 300px;
}

.highlight {
  color: #d9534f;
}



.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #2b2d42;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #3d405b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* إجبار قسم الهيرو على التجاوب مع الحجم المحدد بدقة */
body .hero .hero__content h1.hero-title {
  color: maroon !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 15px !important;
}

body .hero .hero__content p,
body .hero .hero__content div.hero-text-p {
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1.8 !important;
  margin-bottom: 12px !important;
}

body .hero .hero__content div.hero-click-note {
  color: #ffeb3b !important;
  font-size: 24px !important;
  font-weight: bold !important;
  display: inline-block !important;
}

/* إزالة الإطار المنقط فقط دون إيقاف حركة الصورة */
.hero__images3 {
  border: none !important;
  background: none !important;
  outline: none !important;
}

.hero__images3::before,
.hero__images3::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.mb-3{
    font-size: 20px;
}

/* تأثير التحويم للأغلفة في شبكة الكتب */
#books-gallery .card {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease !important;
  will-change: transform;
}

/* حركة الرفع والتكبير الخفيف عند مرر الماوس */
#books-gallery .card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15) !important;
}

/* حركة انسيابية إضافية للصورة نفسها */
#books-gallery .card img {
  transition: opacity 0.3s ease !important;
}

#books-gallery .card:hover img {
  opacity: 0.95;
}

/* حركة الرفع والتأثير البصري للأغلفة */
.book-link-img {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.book-link-img img {
  transition: transform 0.35s ease !important;
}

.book-link-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.book-link-img:hover img {
  transform: scale(1.03);
}

/* تنسيق الروابط للعناوين والأيقونات */
.book-item-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  color: inherit;
  transition: color 0.3s ease;
}

.book-item-link:hover {
  color: maroon !important;
}

/* حركة وحيوية الأيقونة عند التحويم */
.book-item-link:hover .booksv1__item--icon {
  transform: scale(1.15) rotate(-8deg);
  background-color: maroon !important;
  color: #ffffff !important;
}

.booksv1__item--icon {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}