/* 🎨 إعادة تعيين أساسية */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ✅ فرض خط Rubik */
body, html,
h1, h2, h3, h4, h5, h6,
p, span, a, button, input, textarea, label {
  font-family: 'Rubik', sans-serif !important;
}

/* 🌟 العنوان فوق المربع */
.tp-hero__title-lg,
h1.tp-hero__title-lg,
h2.tp-hero__title-lg {
  font-weight: 800;
  font-size: clamp(22px, 4vw, 40px);
  line-height: 1.2;
  color: #0f1a57;
  margin-bottom: 20px;
  white-space: nowrap;   /* سطر واحد دائمًا */
  text-align: center;
}

/* 🌟 الكبسولة (المربع) */
.tp-cta__bg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;

  max-width: 550px;
  width: 85%;
  padding: 16px 28px;

  border-radius: 50px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);

  transition: transform 0.3s ease-in-out;
  text-align: center;
}

/* ✨ النص داخل الكبسولة */
.tp-cta__title {
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: #0f1a57;
  margin: 0;
  white-space: nowrap;   /* يمنع الكسر على الشاشات الكبيرة */
}

/* ✨ حركة عند المرور */
.tp-cta__bg:hover {
  transform: translateY(-3px);
}

/* 📦 الباقات (Plans/Cards Section) */
.packages,
.tp-price__section,
.tp-feature__area {
  display: flex;
  flex-wrap: wrap;           /* تنزل تحت لو ما فيه مساحة */
  justify-content: center;   /* وسط الصفحة */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 🎴 البطاقات */
.packages .card,
.tp-price__section .card,
.tp-feature__area .card {
  flex: 1 1 300px;          /* حجم مرن */
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  background: #fff;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}

.packages .card:hover,
.tp-price__section .card:hover {
  transform: translateY(-5px);
}

/* 🖼️ الصور داخل البطاقات */
.packages img,
.tp-price__section img,
.tp-feature__area img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* 📱 موبايل */
@media (max-width: 768px) {
  .tp-cta__title {
    font-size: 16px;
    line-height: 1.4;
    white-space: normal; /* يسمح يكسر على الجوال */
  }

  .packages,
  .tp-price__section,
  .tp-feature__area {
    gap: 15px;
    padding: 10px;
  }

  .packages .card,
  .tp-price__section .card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
