/**
 * أنماط CSS للصفحات الإضافية - شركة تِك سوليوشنز
 * 
 * محتويات الملف:
 * 1. الأنماط المشتركة
 * 2. صفحة الوظائف
 * 3. صفحة الأسئلة الشائعة
 * 4. صفحة الموارد
 * 5. صفحة التسعير
 * 6. صفحة سياسة الخصوصية
 * 7. صفحة الشروط والأحكام
 * 8. التصميم المتجاوب
 */

/*==============================
  1. الأنماط المشتركة
==============================*/

/* بانر الصفحة */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #4a6cf7 0%, #2b3cf0 100%);
  padding: 90px 0;
  color: #fff;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: inline-flex;
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 0 10px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  position: absolute;
  top: 0;
  left: -3px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li a {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.breadcrumb li a:hover {
  color: #fff;
  text-decoration: none;
}

.breadcrumb li.active {
  color: #fff;
}

.page-banner-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-banner-shape .shape-1 {
  position: absolute;
  top: 20%;
  right: 10%;
  opacity: 0.1;
}

.page-banner-shape .shape-2 {
  position: absolute;
  bottom: 20%;
  left: 10%;
  opacity: 0.1;
}

/* أقسام الصفحة */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.section-title.small-title {
  font-size: 1.8rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.title-separator {
  display: block;
  width: 60px;
  height: 3px;
  background-color: #4a6cf7;
  margin: 15px 0 0;
}

.text-center .title-separator {
  margin: 15px auto 0;
}

/* ألوان الخلفية */
.bg-light {
  background-color: #f8f9fa;
}

.bg-primary {
  background-color: #4a6cf7;
}

/*==============================
  2. صفحة الوظائف (careers.php)
==============================*/

/* قسم المقدمة */
.careers-intro-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.careers-intro-image img {
  width: 100%;
  border-radius: 15px;
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4a6cf7;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(74, 108, 247, 0.3);
}

.badge-content {
  text-align: center;
}

.badge-text {
  font-weight: 700;
  line-height: 1.3;
  font-size: 1rem;
}

.careers-intro-content .lead {
  font-size: 1.25rem;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* قسم المميزات */
.benefits-row {
  margin-top: 30px;
}

.benefit-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  font-size: 1.8rem;
  border-radius: 50%;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.benefit-text {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* قسم الوظائف المتاحة */
.jobs-filter {
  margin-bottom: 30px;
}

.job-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.job-header {
  margin-bottom: 15px;
}

.job-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.job-type {
  display: inline-block;
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 30px;
}

.job-type.full-time {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.job-type.part-time {
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.job-type.remote {
  background-color: rgba(111, 66, 193, 0.1);
  color: #6f42c1;
}

.job-type.contract {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.job-location {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.job-location i {
  margin-left: 5px;
}

.job-description {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.meta-label {
  font-weight: 600;
  color: #333;
  margin-left: 5px;
}

.meta-value {
  color: #666;
}

.job-footer {
  display: flex;
  justify-content: flex-end;
}

.no-jobs-message {
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 15px;
}

/* قسم ثقافة الشركة */
.culture-video {
  position: relative;
  margin-bottom: 30px;
}

.video-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper img {
  width: 100%;
  border-radius: 15px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(74, 108, 247, 0.9);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  background-color: #4a6cf7;
  transform: translate(-50%, -50%) scale(1.1);
}

.value-item {
  display: flex;
  margin-bottom: 30px;
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  font-size: 1.5rem;
  border-radius: 50%;
  margin-left: 20px;
  flex-shrink: 0;
}

.value-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.value-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* قسم الشهادات */
.testimonial-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  color: #666;
  line-height: 1.6;
  font-style: italic;
  position: relative;
  padding: 0 10px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  position: absolute;
  font-size: 2rem;
  color: #e0e0e0;
  line-height: 1;
}

.testimonial-content p::before {
  top: -10px;
  right: -5px;
}

.testimonial-content p::after {
  bottom: -20px;
  left: -5px;
}

.employee-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 20px;
}

.employee-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employee-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #222;
}

.employee-info span {
  font-size: 0.9rem;
  color: #666;
}

/* قسم الأسئلة المتكررة */
.careers-faq-section .accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.careers-faq-section .accordion-button {
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
  background-color: #fff;
  border: none;
  box-shadow: none;
  border-radius: 15px !important;
}

.careers-faq-section .accordion-button:not(.collapsed) {
  color: #4a6cf7;
  background-color: #fff;
  box-shadow: none;
}

.careers-faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(74, 108, 247, 0.1);
}

.careers-faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234a6cf7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.careers-faq-section .accordion-body {
  padding: 5px 25px 25px;
  color: #666;
  line-height: 1.6;
}

/* دعوة للتقديم */
.careers-cta-section {
  background: linear-gradient(135deg, #4a6cf7 0%, #2b3cf0 100%);
  color: #fff;
}

.careers-cta-wrapper {
  border-radius: 15px;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.careers-cta-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(40%, -40%);
}

.careers-cta-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-30%, 30%);
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/*==============================
  3. صفحة الأسئلة الشائعة (faq.php)
==============================*/

/* قسم البحث */
.faq-search-section {
  padding: 30px 0;
}

.faq-search-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.faq-search-form {
  margin-top: 30px;
}

.faq-search-form .input-group {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.faq-search-form .form-control {
  padding: 20px 30px;
  border: none;
  font-size: 1.1rem;
  background-color: #fff;
  border-radius: 50px 0 0 50px;
  height: auto;
}

.faq-search-form .form-control:focus {
  box-shadow: none;
}

.faq-search-form .btn {
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 0 50px 50px 0;
}

/* قائمة التصنيفات */
.faq-categories {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.category-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list li a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: #666;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-list li a:hover,
.category-list li.active a {
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  text-decoration: none;
}

.category-list li a i {
  margin-left: 10px;
  font-size: 1.1rem;
}

/* قسم الدعم الإضافي */
.faq-support-info {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-support-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.faq-support-info p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.support-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.support-contacts li {
  margin-bottom: 15px;
}

.support-contacts li a {
  display: flex;
  align-items: center;
  color: #666;
  transition: all 0.3s ease;
  font-weight: 500;
}

.support-contacts li a:hover {
  color: #4a6cf7;
  text-decoration: none;
  transform: translateX(-5px);
}

.support-contacts li a i {
  margin-left: 10px;
  color: #4a6cf7;
  font-size: 1.1rem;
}

/* محتوى الأسئلة */
.faq-tab-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.category-description {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.faq-accordion {
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item .accordion-button {
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
  background-color: #fff;
  border: none;
  box-shadow: none;
  border-radius: 15px !important;
}

.faq-item .accordion-button:not(.collapsed) {
  color: #4a6cf7;
  background-color: #fff;
  box-shadow: none;
}

.faq-item .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(74, 108, 247, 0.1);
}

.faq-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234a6cf7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-body {
  padding: 5px 25px 25px;
  color: #666;
  line-height: 1.6;
}

.no-faq-message {
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 15px;
  color: #666;
}

/* قسم دعوة للتواصل */
.contact-cta-section {
  background-color: #f8f9fa;
}

.contact-cta-wrapper {
  background: linear-gradient(135deg, #4a6cf7 0%, #2b3cf0 100%);
  border-radius: 15px;
  padding: 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-cta-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(40%, -40%);
}

.contact-cta-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-30%, 30%);
}

.search-result {
  box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.3) !important;
}

/*==============================
  4. صفحة الموارد (resources.php)
==============================*/

/* قسم البحث */
.resources-search-section {
  padding: 30px 0;
}

.resources-search-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.resources-search-form {
  margin-top: 30px;
}

.resources-search-form .input-group {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.resources-search-form .form-control {
  padding: 20px 30px;
  border: none;
  font-size: 1.1rem;
  background-color: #fff;
  border-radius: 50px 0 0 50px;
  height: auto;
}

.resources-search-form .form-control:focus {
  box-shadow: none;
}

.resources-search-form .btn {
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 0 50px 50px 0;
}

/* تصنيفات الموارد */
.resource-category-card {
  display: block;
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.resource-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.category-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  font-size: 2rem;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.resource-category-card .category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
  border: none;
  padding: 0;
}

.resource-category-card .category-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.category-count {
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  font-size: 0.9rem;
  border-radius: 30px;
}

/* الموارد المميزة */
.featured-resources-slider {
  padding: 15px 0;
}

.resource-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.resource-card.featured {
  border: 2px solid rgba(74, 108, 247, 0.3);
}

.resource-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.resource-card:hover .resource-image img {
  transform: scale(1.05);
}

.resource-type {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 30px;
  z-index: 1;
}

.resource-type.ebook {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.resource-type.guide {
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.resource-type.webinar {
  background-color: rgba(111, 66, 193, 0.1);
  color: #6f42c1;
}

.resource-type.course {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.resource-type.template {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.resource-type.tool {
  background-color: rgba(33, 37, 41, 0.1);
  color: #212529;
}

.resource-content {
  padding: 25px;
  flex: 1;
}

.resource-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.resource-category i {
  margin-left: 5px;
  color: #4a6cf7;
}

.resource-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  line-height: 1.4;
}

.resource-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666;
}

.resource-date,
.resource-views {
  display: flex;
  align-items: center;
}

.resource-date i,
.resource-views i {
  margin-left: 5px;
  color: #4a6cf7;
}

.resource-footer {
  padding: 15px 25px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* الشريط الجانبي للموارد */
.resources-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.filter-section {
  margin-bottom: 25px;
}

.filter-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  margin-bottom: 10px;
}

.filter-list li a {
  display: block;
  padding: 8px 15px;
  color: #666;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-list li a:hover,
.filter-list li a.active {
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  text-decoration: none;
}

.newsletter-widget p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* محتوى الموارد */
.resources-section {
  margin-bottom: 50px;
}

.section-header {
  margin-bottom: 30px;
}

.section-title i {
  margin-left: 10px;
  color: #4a6cf7;
}

.section-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.no-resources-message {
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 15px;
}

.no-results-message {
  margin-top: 30px;
}

/* قسم اقتراح مورد */
.suggest-resource-wrapper {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.suggest-resource-content {
  padding: 30px;
}

.suggest-resource-content .section-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.suggest-resource-content .section-description {
  margin-bottom: 20px;
}

.suggestion-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.suggestion-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #666;
}

.suggestion-benefits li i {
  margin-left: 10px;
  color: #4a6cf7;
  font-size: 1.1rem;
}

.suggest-resource-form {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

/*==============================
  5. صفحة التسعير (pricing.php)
==============================*/

/* قسم المقدمة */
.pricing-highlights {
  margin-top: 50px;
}

.highlight-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  font-size: 1.8rem;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.card-text {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* تبويبات التسعير */
.pricing-tabs-wrapper {
  text-align: center;
}

.pricing-nav-tabs {
  display: inline-flex;
  background-color: #f8f9fa;
  border-radius: 50px;
  padding: 5px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-nav-tabs .nav-item {
  margin: 0 5px;
}

.pricing-nav-tabs .nav-link {
  padding: 12px 25px;
  border-radius: 30px;
  color: #666;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.pricing-nav-tabs .nav-link.active,
.pricing-nav-tabs .nav-link:hover {
  background-color: #4a6cf7;
  color: #fff;
}

/* باقات التسعير */
.pricing-plans-wrapper {
  margin-top: 50px;
}

.pricing-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover,
.pricing-card.hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border: 2px solid #4a6cf7;
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4a6cf7;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 0 0 15px 15px;
  z-index: 1;
}

.pricing-header {
  text-align: center;
  padding: 40px 30px 30px;
  border-bottom: 1px solid #eee;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.package-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 20px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
  margin-left: 5px;
}

.amount {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: #4a6cf7;
}

.period {
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
}

.package-description {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.pricing-body {
  padding: 30px;
  flex: 1;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.features-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #666;
  line-height: 1.5;
}

.features-list li i {
  width: 20px;
  margin-left: 10px;
  font-size: 1rem;
  margin-top: 3px;
}

.features-list li.included i {
  color: #4a6cf7;
}

.features-list li.excluded {
  color: #999;
}

.features-list li.excluded i {
  color: #dc3545;
}

.pricing-footer {
  padding: 30px;
  border-top: 1px solid #eee;
  text-align: center;
}

/* مقارنة الباقات */
.comparison-table {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
  text-align: center;
  padding: 15px;
  border: none;
}

.comparison-table th {
  background-color: #f8f9fa;
  font-weight: 700;
  color: #222;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: right;
  font-weight: 600;
  color: #333;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* باقة مخصصة */
.custom-package-wrapper {
  display: flex;
  align-items: center;
}

.custom-package-content {
  padding: 30px;
}

.custom-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #666;
}

.custom-benefits li i {
  margin-left: 10px;
  color: #4a6cf7;
  font-size: 1.1rem;
}

.custom-package-image img {
  max-width: 100%;
}

/* الأسئلة الشائعة */
.pricing-accordion .accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-accordion .accordion-button {
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
  background-color: #fff;
  border: none;
  box-shadow: none;
  border-radius: 15px !important;
}

.pricing-accordion .accordion-button:not(.collapsed) {
  color: #4a6cf7;
  background-color: #fff;
  box-shadow: none;
}

.pricing-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(74, 108, 247, 0.1);
}

.pricing-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234a6cf7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.pricing-accordion .accordion-body {
  padding: 5px 25px 25px;
  color: #666;
  line-height: 1.6;
}

/* قسم الشهادات والتوصيات */
.pricing-testimonials-slider {
  padding: 15px 0;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 15px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #222;
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/*==============================
  6. صفحة سياسة الخصوصية (privacy-policy.php)
==============================*/

/* الشريط الجانبي */
.privacy-sidebar {
  position: sticky;
  top: 100px;
}

.policy-meta {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-label {
  font-weight: 600;
  color: #333;
}

.meta-value {
  color: #666;
}

.policy-toc {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.policy-toc h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list li a {
  display: block;
  padding: 8px 15px;
  color: #666;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.toc-list li a:hover,
.toc-list li a.active {
  background-color: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
  text-decoration: none;
}

.policy-actions {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-actions .btn {
  margin-bottom: 10px;
}

.policy-actions .btn:last-child {
  margin-bottom: 0;
}

/* محتوى السياسة */
.privacy-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-alert {
  margin-bottom: 30px;
}

.policy-section {
  margin-bottom: 50px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section .section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.policy-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 25px 0 15px;
  color: #333;
}

.policy-section p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.policy-section ul,
.policy-section ol {
  margin-bottom: 20px;
  padding-right: 20px;
  color: #666;
  line-height: 1.6;
}

.policy-section li {
  margin-bottom: 8px;
}

.contact-info-card {
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.contact-info-card p {
  margin-bottom: 8px;
}

.policy-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
}

.policy-footer p {
  margin-bottom: 5px;
}

/*==============================
  7. صفحة الشروط والأحكام (terms.php)
==============================*/

/* نفس المخططات الأساسية لصفحة سياسة الخصوصية */
.terms-sidebar {
  position: sticky;
  top: 100px;
}

.terms-meta {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.terms-toc {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.terms-actions {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.terms-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.terms-alert {
  margin-bottom: 30px;
}

.terms-section {
  margin-bottom: 50px;
}

.terms-section:last-child {
  margin-bottom: 0;
}

.terms-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
}

/*==============================
  8. التصميم المتجاوب
==============================*/

/* للشاشات المتوسطة */
@media (max-width: 991px) {
  .page-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
  }

  .benefit-card,
  .job-card,
  .resource-category-card,
  .pricing-card {
    padding: 20px;
  }

  .pricing-nav-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px;
  }

  .pricing-nav-tabs .nav-link {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .privacy-sidebar,
  .terms-sidebar,
  .resources-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .policy-toc,
  .terms-toc {
    display: none;
  }
}

/* للشاشات الصغيرة */
@media (max-width: 767px) {
  .page-banner {
    padding: 60px 0;
  }

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

  .section-padding-sm {
    padding: 30px 0;
  }

  .faq-search-wrapper,
  .resources-search-wrapper {
    margin-top: -40px;
  }

  .faq-search-form .form-control,
  .resources-search-form .form-control {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .faq-search-form .btn,
  .resources-search-form .btn {
    padding: 10px 20px;
  }

  .resource-card {
    margin-bottom: 20px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .pricing-header {
    padding: 30px 20px 20px;
  }

  .amount {
    font-size: 2.5rem;
  }

  .features-list li {
    font-size: 0.9rem;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
  }

  .careers-cta-wrapper,
  .contact-cta-wrapper,
  .custom-package-wrapper {
    padding: 30px;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .privacy-content,
  .terms-content {
    padding: 20px;
  }

  .policy-section .section-title,
  .terms-section .section-title {
    font-size: 1.5rem;
  }

  .policy-section h3,
  .terms-section h3 {
    font-size: 1.2rem;
  }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 575px) {
  .page-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .breadcrumb {
    font-size: 0.9rem;
  }

  .experience-badge {
    width: 80px;
    height: 80px;
    font-size: 0.85rem;
  }

  .job-meta {
    flex-direction: column;
    gap: 10px;
  }

  .pricing-card.popular {
    transform: scale(1.02);
  }

  .custom-benefits li,
  .suggestion-benefits li {
    font-size: 0.9rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .pricing-footer .btn,
  .resource-footer .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .pricing-footer .btn:last-child,
  .resource-footer .btn:last-child {
    margin-bottom: 0;
  }
}

/* طباعة الصفحة */
@media print {
  .privacy-sidebar,
  .terms-sidebar,
  .page-banner-shape,
  .policy-actions,
  .terms-actions,
  header,
  footer,
  .btn {
    display: none !important;
  }

  .privacy-content,
  .terms-content {
    box-shadow: none;
    padding: 0;
  }

  .policy-section,
  .terms-section {
    break-inside: avoid;
  }

  body {
    font-size: 12pt;
  }

  .section-title {
    font-size: 16pt;
  }

  h3 {
    font-size: 14pt;
  }
}
