body {
  font-family: 'Tajawal', sans-serif;
  background-color: #f4f7fb;
  background-image: url('https://www.transparenttextures.com/patterns/connected.png');
}

section { 
  padding: 60px 0; 
}

.navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 50px;
}

.hero {
  background: url('https://qtoof.academy/wp-content/uploads/2023/06/background_screen_time_hero1.jpg') center/cover no-repeat;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero h1 {
  font-weight: 700;
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
}

.course-card img {
  max-height: 180px;
  object-fit: cover;
}

.course-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.course-card .card-body {
  padding: 2rem;
}

.course-card .fa-3x {
  font-size: 2.5rem;
}

.course-card h5 {
  color: #3e4c6d;
}

.btn-primary {
  background-color: #9b1c4d;
  border: none;
}

.btn-success {
  background-color: #c3326f;
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: #f8e9f1;
  color: #3e4c6d;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-button {
  font-weight: bold;
  background-color: #fff;
}

.accordion-body {
  background-color: #fff;
  padding: 1rem 1.25rem;
  color: #333;
}

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 18px;
  z-index: 1000;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  color: white;
  transform: scale(1.05);
}

footer {
  background-color: #222;
  color: #fff;
  padding: 30px 0;
}

footer a {
  color: #f5a6c1;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.form-check-input:checked {
  background-color: #9b1c4d;
  border-color: #9b1c4d;
}

/* تحسين مظهر العناصر في النموذج */
.form-label {
  color: #333333 !important; /* تأكيد لون النص لجميع الإتيكيت */
  font-weight: 500; /* زيادة سمك الخط قليلاً لتحسين القراءة */
}

.card-body {
  background-color: #ffffff; /* تأكيد لون خلفية البطاقة */
}

.form-check-label {
  color: #333333 !important; /* تأكيد لون النص لإتيكيت مربعات الاختيار */
}

.form-text {
  color: #666666 !important; /* لون النص الإضافي مثل "اختياري" */
}

/* تحسين مظهر عناصر الإدخال */
.form-control, .form-select {
  color: #000000 !important; /* تأكيد لون النص المدخل ليكون أسود */
  font-weight: 400;
}

/* تحسين وضوح النص في النافذة المنبثقة */
.modal-body {
  color: #333333;
}

.modal-body .form-label {
  color: #333333 !important;
}

.modal-body input, .modal-body select, .modal-body textarea {
  color: #000000 !important;
}

/* تحسين وضوح النص في رسائل النجاح */
.alert-success, .alert-info {
  color: #0c5460 !important;
}

/* تحسين النص في صفحة النجاح */
#successMessage {
  color: #333333;
}

/* تنسيقات إضافية لقسم النموذج */
#register {
  position: relative;
}

#register::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
  z-index: 1;
}

#register .container {
  position: relative;
  z-index: 2;
}

#register .btn-success {
  background-color: #c3326f;
  border-color: #c3326f;
  transition: all 0.3s ease;
}

#register .btn-success:hover {
  background-color: #9b1c4d;
  border-color: #9b1c4d;
  transform: translateY(-2px);
}

/* تحسينات من v1 - النماذج والألوان */
.form-label {
  color: #333333 !important;
  font-weight: 500;
}

.card-body {
  background-color: #ffffff;
}

.form-check-label {
  color: #333333 !important;
}

.form-text {
  color: #666666 !important;
}

.form-control, .form-select {
  color: #000000 !important;
  font-weight: 400;
}

/* تحسين وضوح النص في النافذة المنبثقة */
.modal-body {
  color: #333333;
}

.modal-body .form-label {
  color: #333333 !important;
}

.modal-body input, .modal-body select, .modal-body textarea {
  color: #000000 !important;
}

/* تحسين وضوح النص في رسائل النجاح */
.alert-success, .alert-info {
  color: #0c5460 !important;
}

/* تنسيقات الحصة التجريبية */
.trial-highlight {
  background: linear-gradient(45deg, #ffeaa7, #fdcb6e);
  border: 2px solid #e17055;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(225, 112, 85, 0.5); }
  50% { box-shadow: 0 0 20px rgba(225, 112, 85, 0.8); }
  100% { box-shadow: 0 0 5px rgba(225, 112, 85, 0.5); }
}

/* Sticky CTA للموبايل */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: linear-gradient(45deg, #e17055, #fdcb6e);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

/* تحسينات للأيقونات والمسافات */
.fas, .fab, .far {
  margin-right: 0.5rem;
}

/* التأكد من المسافات في البوت ستراب */
.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}
