/* tarabot-home.css - ستايل مخصص للصفحة الرئيسية */

/* إضافة دعم الخط العربي المخصص لجميع الأجهزة */
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    src: url('/wp-content/themes/hello-elementor/assets/fonts/IBMPlexSansArabic-Regular.woff2') format('woff2'),
         url('/wp-content/themes/hello-elementor/assets/fonts/IBMPlexSansArabic-Regular.woff') format('woff'),
         url('/wp-content/themes/hello-elementor/assets/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    src: url('/wp-content/themes/hello-elementor/assets/fonts/IBMPlexSansArabic-Bold.woff2') format('woff2'),
         url('/wp-content/themes/hello-elementor/assets/fonts/IBMPlexSansArabic-Bold.woff') format('woff'),
         url('/wp-content/themes/hello-elementor/assets/fonts/IBMPlexSansArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
body, html, .tarabot-home, * {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', 'Cairo', Arial, sans-serif !important;
}

body.tarabot-home {
  background: linear-gradient(180deg, #f7f7f7 0%, #e9f3ee 100%);
}

.tarabot-home, .tarabot-home * {
  font-family: var(--tarabot-font), 'IBM Plex Sans Arabic', sans-serif !important;
}

/* إزالة زخرفة الخلفية الإسلامية من الصفحة الرئيسية بالكامل */
.tarabot-home {
  background: linear-gradient(120deg, rgba(207,139,63,0.08) 0%, rgba(9,68,38,0.07) 100%);
}

@media (max-width: 900px) {
  .tarabot-home {
    background-size: 50px 50px, cover;
  }
}

/* حركة زخرفة خفيفة (دوران بطيء)   تم الحذف*/   
.tarabot-home > * {
  position: relative;
  z-index: 1;
}

/* هيدر عائم احترافي */
.tarabot-home-header {
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 16px rgba(9,68,38,0.07);
  padding: 1.2rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.tarabot-home-header .logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.tarabot-home-header .logo img {
  height: 40px;
  border-radius: 8px;
}
.tarabot-home-header .nav {
  display: flex;
  gap: 2rem;
}
.tarabot-home-header .nav a {
  color: var(--tarabot-primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.tarabot-home-header .nav a:hover {
  color: var(--tarabot-accent);
}

/* هيرو مع تأثيرات متداخلة */
.tarabot-home .hero {
  background: linear-gradient(120deg, #094426 80%, #e9f3ee 100%) !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
/* إعادة تفعيل خلفية الفيديو في الهيرو */
.tarabot-home .hero-bg-video {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.18;
}
/* حذف أي صورة أو فيديو أو زخرفة متحركة */
.tarabot-home .hero-img,
.tarabot-home .hero-overlay,
.tarabot-home .hero-decor,
.tarabot-home .hero-star {
  display: none !important;
}
.tarabot-home .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}
.tarabot-home .hero-content h1 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(9,68,38,0.18);
  animation: textGlow 2.5s infinite alternate;
}
/* جعل جملة الهيرو باللون الأبيض */
.hero-content p {
    color: #fff !important;
}
.tarabot-home .hero-content .button {
  font-size: 1.3rem;
  padding: 16px 48px;
  border-radius: 32px;
  font-weight: 700;
  background: var(--tarabot-gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(207,139,63,0.15);
  margin-bottom: 18px;
  animation: fadeInUp 1.8s cubic-bezier(.4,0,.2,1);
}
.tarabot-home .hero-content div {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.85;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(9,68,38,0.12);
  animation: fadeInUp 2.2s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes textGlow {
  from { text-shadow: 0 2px 16px rgba(9,68,38,0.18), 0 0 0 #CF8B3F; }
  to { text-shadow: 0 2px 16px rgba(9,68,38,0.18), 0 0 16px #CF8B3F; }
}
/* حذف أي keyframes متعلقة بالزخرفة أو الحركة */
@keyframes decorFloat {}
@keyframes starTwinkle {}
@media (max-width: 900px) {
  .tarabot-home .hero-content h1 { font-size: 2.1rem; }
  .tarabot-home .hero-img { height: 60vh; }
}
@media (max-width: 600px) {
  .tarabot-home .hero-content h1 { font-size: 1.3rem; }
  .tarabot-home .hero-img { height: 40vh; }
  .hero-content p {
    text-align: center !important;
  }
}

.tarabot-home .about {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(9,68,38,0.09);
  padding: 64px 48px;
  margin: 48px auto 0 auto;
  max-width: 1100px;
  overflow: hidden;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}

/* حركة مستمرة لشعار about-img في قسم نبذة عن الأكاديمية */
.tarabot-home .about-img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(207,139,63,0.13);
  filter: grayscale(0.15) brightness(0.97);
  transition: filter 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  animation: aboutLogoRotate 7s linear infinite;
  animation: imgPop 1.5s cubic-bezier(.4,0,.2,1);
}

@keyframes aboutLogoRotate {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* عند المرور بالماوس يبقى تأثير التكبير والدوران اللحظي */
.tarabot-home .about-img:hover {
  filter: grayscale(0) brightness(1.05);
  transform: scale(1.04) rotate(-2deg);
  animation: none;
}

/* شعار متحرك بجوار عنوان نبذة عن الأكاديمية */
.about-decor {
  display: inline-block;
  width: 56px;
  height: 56px;
  margin-left: 12px;
  vertical-align: middle;
  background: url(https://tarabotacademy.com/wp-content/uploads/2025/10/Fav-icon.png) no-repeat center/contain;
  animation: aboutDecorFloat 2.8s infinite alternate cubic-bezier(.4,0,.2,1);
}
@keyframes aboutDecorFloat {
  0% { transform: translateY(-18px); }
  100% { transform: translateY(18px); }
}

.tarabot-home .about-content {
  flex: 1;
  animation: fadeInUp 1.7s cubic-bezier(.4,0,.2,1);
}

.tarabot-home .about h2 {
  font-size: 2.2rem;
  color: var(--tarabot-gold);
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(207,139,63,0.10);
  animation: textGlow 2.5s infinite alternate;
}

.tarabot-home .about ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.18rem;
}

.tarabot-home .about ul li {
  font-size: 1.18rem;
  color: var(--tarabot-green);
  margin-bottom: 14px;
  position: relative;
  padding-right: 32px;
  font-weight: 600;
  opacity: 0;
  animation: fadeList 0.8s forwards;
}

.tarabot-home .about ul li:before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--tarabot-gold);
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 1.2rem;
}

@keyframes imgPop {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeList {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .tarabot-home .about { flex-direction: column; gap: 24px; padding: 32px 12px; }
  .tarabot-home .about-img { width: 220px; height: 220px; }
  .tarabot-home .about-content h2 { font-size: 1.3rem; }
}

.tarabot-home .stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  background: linear-gradient(90deg, #f9f7f3 70%, #eae3d2 100%);
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(9,68,38,0.09);
  padding: 48px 0;
  margin: 48px auto 0 auto;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}

.stats > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.2rem;
}
.stats > div > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(9,68,38,0.07);
  padding: 1.2rem 1.6rem;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--tarabot-primary,#094426);
  min-width: 110px;
  text-align: center;
  margin: 0;
}
@media (max-width: 600px) {
  .stats > div {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .stats > div > div {
    min-width: 90px;
    font-size: 1rem;
    padding: 0.7rem 0.6rem;
  }
}

.tarabot-home .stats > div {
  display: flex;
  gap: 48px;
}

.tarabot-home .stats > div > div {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(207,139,63,0.10);
  padding: 32px 38px;
  font-size: 2.1rem;
  color: var(--tarabot-green);
  font-weight: 900;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: statPop 1s forwards;
}

.tarabot-home .stats > div > div:after {
  content: '\f0c8';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--tarabot-gold);
  font-size: 1.2rem;
  position: absolute;
  left: 18px;
  top: 18px;
  opacity: 0.18;
  animation: decorFloat 3s infinite alternate;
}

@keyframes statPop {
  0% { opacity: 0; transform: scale(0.7) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 900px) {
  .tarabot-home .stats > div { gap: 18px; }
  .tarabot-home .stats > div > div { font-size: 1.1rem; padding: 18px 10px; }
}

.tarabot-home .courses {
  position: relative;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(9,68,38,0.09);
  padding: 64px 48px;
  margin: 48px auto 0 auto;
  max-width: 1100px;
  overflow: hidden;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}
/* حذف أي زخرفة في قسم الدورات */
.tarabot-home .courses::before {
  display: none !important;
}
.tarabot-home .courses h2 {
  font-size: 2.3rem;
  color: var(--tarabot-gold);
  font-weight: 900;
  margin-bottom: 32px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(207,139,63,0.10);
  animation: textGlow 2.5s infinite alternate;
}
.tarabot-home .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.tarabot-home .course-card {
  background: linear-gradient(90deg, #f9f7f3 70%, #eae3d2 100%);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(207,139,63,0.10);
  padding: 32px 24px;
  min-width: 220px;
  max-width: 260px;
  text-align: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  animation: cardPop 1s forwards;
}
.tarabot-home .course-card:hover {
  transform: scale(1.06) translateY(-8px);
  box-shadow: 0 8px 32px rgba(207,139,63,0.18);
  background: linear-gradient(90deg, #eae3d2 70%, #f9f7f3 100%);
}
.tarabot-home .course-card .course-icon {
  width: 36px;
  height: 36px;
  margin-left: 0.7rem;
  opacity: 0.8;
  vertical-align: middle;
}
.tarabot-home .course-card .course-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tarabot-green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.tarabot-home .course-card .course-title i {
  font-size: 1.7rem;
  color: var(--tarabot-gold);
  margin-left: 6px;
  animation: iconBounce 2s infinite alternate;
}
.tarabot-home .course-card .course-desc {
  font-size: 1.08rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  min-height: 48px;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cardPop {
  0% { opacity: 0; transform: scale(0.7) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes iconBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .tarabot-home .courses { padding: 32px 12px; }
  .tarabot-home .course-list { gap: 12px; }
  .tarabot-home .course-card { min-width: 160px; max-width: 98vw; padding: 18px 8px; }
  .tarabot-home .courses h2 { font-size: 1.3rem; }
}

.tarabot-home .courses h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.tarabot-home .courses ul {
  list-style: none;
  padding: 0;
  font-size: 1.18rem;
}

.tarabot-home .courses li {
  margin-bottom: 1.7rem;
  padding-right: 2.2rem;
  position: relative;
}

.tarabot-home .courses li:before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url('https://cdn.jsdelivr.net/gh/tabler/tabler-icons/icons/book.svg') no-repeat center center;
  background-size: 22px 22px;
  position: absolute;
  right: 0;
  top: 0.1rem;
  opacity: 0.7;
}

/* إصلاح ظهور أيقونات Font Awesome في أقسام الباقات والدورات */
.pricing-details i,
.course-title i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  color: var(--tarabot-gold, #cf8b3f) !important;
  font-size: 1.2em !important;
  margin-left: 0.5em !important;
  vertical-align: middle !important;
}

[class^="fa-"], [class*=" fa-"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
}

/* منع إخفاء الأيقونات أو إعادة تعيينها */
.pricing-details i, .course-title i {
  visibility: visible !important;
  opacity: 1 !important;
}

/* تصميم جديد لقسم عروض الباقات */
.pricing-section {
  position: relative;
  padding: 4rem 0 3rem 0;
  background: linear-gradient(135deg, #f7f7f7 0%, #e9f3ee 100%), url('https://www.transparenttextures.com/patterns/arabesque.png'); /* خلفية زخرفية عربية شفافة */
  border-radius: 40px;
  margin: 3rem auto;
  max-width: 1440px;
  box-shadow: 0 8px 40px rgba(9,68,38,0.13);
  overflow: hidden;
}
.pricing-section .pricing-bg,
.pricing-section .pricing-card-img {
  display: none !important;
}
.pricing-section .pricing-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(120deg,rgba(207,139,63,0.13) 0%,rgba(9,68,38,0.11) 100%);
  z-index: 2;
  pointer-events: none;
}
.pricing-section .container {
  position: relative;
  z-index: 3;
}
.pricing-section .pricing-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--tarabot-primary);
  margin-bottom: 2.7rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(9,68,38,0.10);
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  justify-content: center;
}
.pricing-card {
  background: linear-gradient(120deg, #e9f3ee 80%, #fff 100%);
  border-radius: 28px;
  box-shadow: 0 2px 18px rgba(207,139,63,0.10);
  padding: 2.2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  border: 2px solid #e9f3ee;
}
.pricing-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 40px rgba(207,139,63,0.18);
  border-color: var(--tarabot-gold);
}
.pricing-card-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 10px rgba(207,139,63,0.09);
  opacity: 0.92;
  transition: opacity 0.3s;
  border: 1.5px solid #CF8B3F;
}
.pricing-card:hover .pricing-card-img {
  opacity: 1;
  border-color: var(--tarabot-primary);
}
.pricing-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--tarabot-gold);
  background: linear-gradient(120deg, #fff 60%, #e9f3ee 100%);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(207,139,63,0.10);
  margin-bottom: 0.7rem;
  animation: numberPulse 2s infinite alternate;
  transition: background 0.3s, color 0.3s;
}
.pricing-card:hover .pricing-number {
  background: linear-gradient(120deg, #e9f3ee 60%, #fff 100%);
  color: var(--tarabot-primary);
}
@keyframes numberPulse {
  0% { transform: scale(1); box-shadow: 0 2px 10px rgba(207,139,63,0.10); }
  100% { transform: scale(1.13); box-shadow: 0 0 16px #CF8B3F; }
}
.pricing-info {
  text-align: center;
}
.pricing-name {
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--tarabot-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.pricing-price {
  font-size: 1.22rem;
  color: var(--tarabot-primary);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.pricing-desc {
  font-size: 1.02rem;
  color: #444;
  margin-bottom: 0.2rem;
}
.pricing-btn {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.7rem 2.2rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  background: var(--tarabot-gold);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(207,139,63,0.10);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  letter-spacing: 0.5px;
}
.pricing-btn:hover {
  background: #094426;
  color: #ffffff;
  opacity: 1;
}
.pricing-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.7rem 0 0.7rem 0;
  font-size: 1.08rem;
  color: #094426;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.1px;
}
.pricing-details span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.2rem 0;
}
.pricing-details i {
  font-size: 1.1rem;
  color: var(--tarabot-gold);
  margin-left: 4px;
}
.details-divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, #e9f3ee 0%, #CF8B3F 100%);
  margin: 0.2rem auto;
  opacity: 0.7;
  border-radius: 2px;
}
.pricing-note {
  font-size: 1.04rem;
  color: var(--tarabot-primary);
  margin-top: 0.9rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
  text-align: center;
  opacity: 0.92;
  line-height: 1.7;
}
/* تنسيق عبارة تطبق الشروط والأحكام في كروت الباقات */
.pricing-terms {
    font-size: 0.93rem;
    color: #888;
    margin: 0.3rem 0 0.7rem 0;
    text-align: center;
    opacity: 0.85;
    letter-spacing: 0.1px;
    width: 100%;
    display: block;
}
@media (max-width: 600px) {
    .pricing-terms {
        font-size: 0.85rem;
    }
}

/* تنسيق جملة تطبق الشروط والأحكام تحت قسم العروض */
.offers-terms {
    text-align: center;
    font-size: 0.98rem;
    color: #888;
    margin: 1.7rem 0 0.7rem 0;
    opacity: 0.85;
    letter-spacing: 0.1px;
}
@media (max-width: 600px) {
    .offers-terms {
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .pricing-card {
    min-width: 160px;
    max-width: 98vw;
    padding: 18px 8px;
  }
  .pricing-section {
    padding: 2rem 0.5rem;
    max-width: 98vw;
  }
  .pricing-section .pricing-title {
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
  }
  .pricing-card {
    min-width: 98vw;
    max-width: 98vw;
    padding: 12px 4px;
  }
}

/* عروض الاشتراكات الاحترافية */
.offers-cards {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: nowrap;
  margin-bottom: 1.5rem;
}
.offer-card {
  background: linear-gradient(120deg, #094426 80%, #e9f3ee 100%) !important;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 18px rgba(9,68,38,0.13);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  border: 2px solid #e9f3ee;
}
.offer-card:hover {
  /* حافظ على التدرج ولا تغير الخلفية */
  background: linear-gradient(120deg, #094426 80%, #e9f3ee 100%) !important;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 40px rgba(207,139,63,0.18);
  border-color: var(--tarabot-gold);
  color: #fff;
}
.offer-title {
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--tarabot-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.offer-desc {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 0.7rem;
  text-align: center;
  line-height: 1.7;
}
.offer-btn {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.7rem 2.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  background: var(--tarabot-gold);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(207,139,63,0.10);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  letter-spacing: 0.5px;
}
.offer-btn:hover {
  background: #fff;
  color: var(--tarabot-primary);
  opacity: 1;
}
@media (max-width: 900px) {
  .offers-cards {
    flex-direction: row;
    gap: 1.2rem;
  }
  .offer-card {
    min-width: 220px;
    max-width: 98vw;
    padding: 12px 4px;
  }
}
@media (max-width: 600px) {
  .offers-cards {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .offer-card {
    min-width: 98vw;
    max-width: 98vw;
    padding: 12px 4px;
  }
}

.tarabot-home .pricing {
  background: linear-gradient(120deg, #094426 80%, #CF8B3F 100%);
  color: #fff;
  padding: 3.5rem 2rem 2rem 2rem;
  border-radius: 32px;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: 0 4px 32px rgba(9,68,38,0.13);
}

.tarabot-home .pricing h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.tarabot-home .pricing ul {
  list-style: none;
  padding: 0;
  font-size: 1.18rem;
}

.tarabot-home .pricing li {
  margin-bottom: 1.7rem;
  padding-right: 2.2rem;
  position: relative;
}

.tarabot-home .pricing li:before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url('https://cdn.jsdelivr.net/gh/tabler/tabler-icons/icons/credit-card.svg') no-repeat center center;
  background-size: 22px 22px;
  position: absolute;
  right: 0;
  top: 0.1rem;
  opacity: 0.7;
}

.tarabot-home .offers {
  background: #fff;
  color: var(--tarabot-primary);
  padding: 3.5rem 2rem 2rem 2rem;
  text-align: center;
  border-radius: 32px;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: 0 4px 32px rgba(207,139,63,0.09);
}

.tarabot-home .offers h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.tarabot-home .offers > div {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1.2rem;
}

.tarabot-home .offers > div > div {
  background: linear-gradient(90deg, #CF8B3F 10%, #fff 100%);
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 2px 12px rgba(207,139,63,0.07);
  font-weight: 700;
  transition: background 0.2s;
  color: #094426;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tarabot-home .offers > div > div:before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url('https://cdn.jsdelivr.net/gh/tabler/tabler-icons/icons/gift.svg') no-repeat center center;
  background-size: 24px 24px;
  opacity: 0.7;
  margin-left: 0.5rem;
}

/* قسم التوصيات (Testimonials) */
.tarabot-home .testimonials {
  position: relative;
  background: #fff;
  color: var(--tarabot-primary);
  padding: 3rem 2rem 4.2rem 2rem;
  border-radius: 32px;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: 0 4px 32px rgba(9,68,38,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.tarabot-home .testimonials h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.tarabot-home .testimonial-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 700px;
  min-height: 220px;
  position: relative;
}
.tarabot-home .testimonial {
  background: linear-gradient(120deg, #e9f3ee 80%, #fff 100%);
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(9,68,38,0.07);
  padding: 2rem 1.5rem;
  max-width: 260px;
  min-width: 220px;
  margin: 0 1rem;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: scale(0.95) translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.tarabot-home .testimonial.active {
  display: flex;
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}
.tarabot-home .testimonial .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(9,68,38,0.10);
}
.tarabot-home .testimonial .name {
  font-weight: 700;
  color: var(--tarabot-primary);
  margin-bottom: 0.5rem;
}
.tarabot-home .testimonial .text {
  font-size: 1.05rem;
  color: #444;
}
.tarabot-home .testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  position: absolute;
  bottom: 1.2rem;
  left: 0;
  right: 0;
  margin: auto;
}
.tarabot-home .testimonial-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e9f3ee;
  border: 2px solid var(--tarabot-primary);
  transition: background 0.3s, border-color 0.3s;
  cursor: pointer;
}
.tarabot-home .testimonial-dots .dot.active {
  background: var(--tarabot-gold);
  border-color: var(--tarabot-gold);
}
@media (max-width: 900px) {
  .tarabot-home .testimonial-list { max-width: 98vw; }
  .tarabot-home .testimonial { min-width: 98vw; max-width: 98vw; margin: 0; }
}

/* قسم الفوتر الاحترافي */
.tarabot-home-footer {
  background: linear-gradient(90deg, #094426 80%, #CF8B3F 100%);
  color: #fff;
  padding: 2.5rem 1rem 1.2rem 1rem;
  text-align: center;
  border-radius: 0 0 32px 32px;
  margin-top: 4rem;
  box-shadow: 0 -2px 16px rgba(9,68,38,0.07);
}
.tarabot-home-footer .footer-logo {
  height: 36px;
  margin-bottom: 1rem;
}
.tarabot-home-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
}
.tarabot-home-footer .footer-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.tarabot-home-footer .footer-links a:hover {
  color: #CF8B3F;
}
.tarabot-home-footer .copyright {
  font-size: 0.95rem;
  color: #e9f3ee;
}

/* إصلاح أيقونات التواصل في الفوتر (Font Awesome Brands) */
footer .fa-brands,
.footer .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block !important;
}

/* تنسيق روابط صفحات الفوتر في عمود أو عمودين متوازيين */
.footer-pages-list {
  margin: 18px 0 0 0;
  max-width: 340px;
}
/* عرض روابط صفحات الفوتر في ثلاث أعمدة متوازية */
.footer-pages-ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 24px;
  padding: 0;
  margin: 0;
}
@media (min-width: 500px) {
  .footer-pages-ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.footer-page-link {
  color: #094426;
  font-weight: 400;
  font-size: 0.89rem;
  text-decoration: none;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid #CF8B3F33;
  padding-bottom: 2px;
  display: inline-block;
  line-height: 1.7;
}
.footer-page-link:hover {
  color: #CF8B3F;
  border-bottom: 2px solid #CF8B3F;
}

/* وصف الفوتر الطويل أسفل الفوتر الرئيسي */
.footer-desc-long {
    text-align: center;
    font-size: 0.97rem;
    color: #888;
    margin: 1.2rem auto 0.7rem auto;
    max-width: 700px;
    line-height: 1.9;
    opacity: 0.92;
}
@media (max-width: 600px) {
    .footer-desc-long {
        font-size: 0.89rem;
        padding: 0 0.7rem;
    }
}

@media (max-width: 900px) {
  .tarabot-home .about, .tarabot-home .courses, .tarabot-home .pricing, .tarabot-home .offers, .tarabot-home .stats {
    max-width: 98vw;
    padding: 2rem 1rem;
    flex-direction: column !important;
    gap: 1.2rem !important;
  }
  .tarabot-home .about {
    flex-direction: column-reverse !important;
    align-items: flex-start !important;
  }
  .tarabot-home .stats > div, .tarabot-home .offers > div {
    flex-direction: column;
    gap: 1.2rem;
  }
  .tarabot-home .hero h1 {
    font-size: 2.1rem;
  }
  .tarabot-home .testimonials {
    padding: 2rem 1rem;
  }
  .tarabot-home .testimonial-list {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .tarabot-home-footer .footer-links {
    flex-direction: column;
    gap: 0.7rem;
  }
  .tarabot-home .course-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* زر نموذج التواصل - تأثير عند المرور */
.contact-btn:hover {
  background: var(--tarabot-gold, #cf8b3f) !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(207,139,63,0.15);
}

/* ستايل قسم المدونة في الصفحة الرئيسية */
.home-blog-section {
  margin: 4rem auto 2.5rem auto;
  max-width: 1200px;
  padding: 0 1vw;
}
.home-blog-title {
  text-align: center;
  color: var(--tarabot-gold, #CF8B3F);
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.home-blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem 1.5rem;
}
.home-blog-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(207,139,63,0.13);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
  border: 1.5px solid #f3e7d7;
  overflow: hidden;
}
.home-blog-card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 8px 32px rgba(207,139,63,0.18);
  border-color: var(--tarabot-gold, #CF8B3F);
}
.home-blog-thumb {
  display: block;
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(9,68,38,0.09);
  transition: box-shadow 0.2s;
}
.home-blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.22s;
}
.home-blog-card:hover .home-blog-thumb-img {
  transform: scale(1.04) rotate(-1deg);
}
.home-blog-content {
  width: 100%;
}
.home-blog-title a {
  color: var(--tarabot-primary, #094426);
  text-decoration: none;
  font-weight: 800;
  transition: color 0.2s;
}
.home-blog-title a:hover {
  color: var(--tarabot-gold, #CF8B3F);
}
.home-blog-meta {
  font-size: 0.97rem;
  color: #888;
  margin-bottom: 0.4rem;
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.home-blog-excerpt {
  font-size: 1.05rem;
  color: #333;
  opacity: 0.97;
  margin-bottom: 0.7rem;
  line-height: 1.7;
  text-align: right;
}
.home-blog-readmore {
  color: var(--tarabot-gold, #CF8B3F);
  font-weight: 700;
  text-decoration: underline;
  font-size: 1.01rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: color 0.2s;
}
.home-blog-readmore:hover {
  color: var(--tarabot-primary, #094426);
}
.home-blog-all-link a {
  background: var(--tarabot-gold, #CF8B3F);
  color: #fff;
  font-size: 1.13rem;
  font-weight: 800;
  border-radius: 14px;
  padding: 0.7rem 2.2rem;
  box-shadow: 0 2px 12px rgba(207,139,63,0.13);
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
  display: inline-block;
}
.home-blog-all-link a:hover {
  background: var(--tarabot-primary, #094426);
  color: #fff;
  box-shadow: 0 6px 24px rgba(9,68,38,0.13);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 900px) {
  .home-blog-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .home-blog-card {
    padding: 1.1rem 0.5rem 1rem 0.5rem;
  }
  .home-blog-thumb {
    height: 110px;
  }
}

/* قسم لماذا تختار ترابط القرآن؟ */
.why-tarabot-section {
    margin: 4rem auto 2.5rem auto;
    max-width: 1100px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 4px 32px rgba(9,68,38,0.09);
    padding: 2.7rem 1.5rem 2.7rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.why-tarabot-title {
    text-align: center;
    color: var(--tarabot-primary, #094426);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 2.2rem;
    letter-spacing: 1px;
}
.why-tarabot-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.7rem 2.2rem;
    width: 100%;
    justify-items: center;
}
.why-tarabot-card {
    background: #f9f7f3;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(207,139,63,0.08);
    padding: 1.7rem 1.2rem 1.3rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
    max-width: 340px;
    width: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
    text-align: center;
    position: relative;
}
.why-tarabot-card:hover {
    box-shadow: 0 8px 28px rgba(207,139,63,0.16);
    transform: translateY(-7px) scale(1.035);
}
.why-tarabot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #CF8B3F 60%, #f9f7f3 100%);
    color: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    font-size: 2rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 10px rgba(207,139,63,0.13);
    border: 2.5px solid #fff;
}
.why-tarabot-card h3 {
    color: var(--tarabot-gold, #CF8B3F);
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
}
.why-tarabot-card p {
    color: #333;
    font-size: 1.07rem;
    line-height: 1.8;
    margin: 0;
}
@media (max-width: 900px) {
    .why-tarabot-section {
        padding: 1.2rem 0.3rem 2rem 0.3rem;
    }
    .why-tarabot-title {
        font-size: 1.3rem;
    }
    .why-tarabot-list {
        gap: 1.1rem 0.7rem;
    }
    .why-tarabot-card {
        max-width: 100%;
        padding: 1.2rem 0.7rem 1.1rem 0.7rem;
    }
    .why-tarabot-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}
