/* ========================================================
   بنية المتغيرات الديناميكية (تتحكم في الدارك مود تلقائياً)
   ======================================================== */
:root {
  --primary-neon: #6026f7;
  --secondary-neon: #4b00ff;
  --bg-gradient-soft: linear-gradient(135deg, #fbfaff 0%, #f4f0ff 100%);
  --field-bg: #f9f9fc;
  --border-field: #e3e1f2;
  --text-dark: #222222;
  --text-muted: #666666;
  --required-color: #ff334b;

  /* متغيرات خاصة بالخلفيات والنصوص القابلة للانعكاس */
  --body-bg: #ffffff;
  --card-bg: #ffffff;
  --hero-bg: linear-gradient(100deg, #f5f3ff 0%, #ece9fe 100%);
  --hero-title: #6026f7;
  --breadcrumb-bg: rgba(255, 255, 255, 0.7);
  --note-bg: rgba(96, 38, 247, 0.03);
}

/* في حال تفعيل الدارك مود (بأي كلاس محتمل أو خاصية) يتم تبديل قيم المتغيرات فوراً */
body.dark-mode,
body.dark,
[data-theme="dark"] {
  --body-bg: #121212;
  --card-bg: #1a1625;
  --text-dark: #ffffff;
  --text-muted: #cbd5e1;
  --field-bg: #231d30;
  --border-field: #38304d;
  --bg-gradient-soft: linear-gradient(135deg, #14121f 0%, #0d0b14 100%);
  --hero-bg: linear-gradient(100deg, #1e1b4b 0%, #111029 100%);
  --hero-title: #a78bfa;
  --breadcrumb-bg: rgba(255, 255, 255, 0.05);
  --note-bg: rgba(167, 139, 250, 0.05);
}

/* تطبيق خلفية الجسم الأساسية */
body.dark-mode,
body.dark {
  background-color: var(--body-bg) !important;
  color: var(--text-dark) !important;
}

/* ========================================================
   BREADCRUMB BAR (شريط المسار العلوي الافتراضي)
   ======================================================== */
.breadcrumb-bar {
  background-color: #f8f9fa;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.breadcrumb-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.breadcrumb-inner a {
  color: var(--text);
  font-weight: 500;
}

.breadcrumb-inner a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: #b1b8ce;
}

/* ========================================================
   SECTION 1: HERO (البانر الرمادي القديم)
   ======================================================== */
.instructor-hero {
  background-color: #b3b7c2;
  padding: 80px 0;
  text-align: right;
  color: #ffffff;
}

.hero-content {
  max-width: 800px;
}

.instructor-hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #ffffff;
}

.instructor-hero h1 .blue-text {
  color: var(--primary);
}

.instructor-hero p {
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.95;
}

/* ========================================================
   SECTION 2: BENEFITS GRID
   ======================================================== */
.benefits-section {
  padding: 70px 0;
  background-color: #ffffff;
}

.section-main-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================================
   SECTION 3: STEPS INTERACTIVE TABS
   ======================================================== */
.steps-section {
  padding: 40px 0 70px;
  background-color: #ffffff;
}

.tabs-control {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  max-width: 650px;
  margin: 0 auto 30px;
  gap: 30px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
}

.tabs-content-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.tab-panel-content {
  display: none;
}

.tab-panel-content.active {
  display: block;
}

.tab-panel-content p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

/* ========================================================
   SECTION 4: FINAL CALL TO ACTION
   ======================================================== */
.final-cta-section {
  padding: 70px 0;
  background-color: #f4f7fc;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.cta-text-side h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-text-side p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.alert-login-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #e6f7eb;
  border: 1px solid #b7ebc6;
  border-radius: 4px;
  padding: 10px 16px;
}

.alert-icon {
  color: #52c41a;
  font-weight: bold;
}

.alert-login-box p {
  margin: 0;
  font-size: 13.5px;
  color: #222222;
}

.alert-link {
  color: #000000;
  font-weight: bold;
  text-decoration: underline !important;
}

.cta-image-side img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 8px;
}

/* ========================================================
   تحديثات الهوية والألوان الفاخرة لصفحة استمارة المحاضرين الجديدة
   ======================================================== */

/* البانر العلوي المتدرج الإبداعي لصفحة المحاضرين */
.lecturer-hero {
  background: var(--hero-bg);
  padding: 85px 0 65px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(96, 38, 247, 0.08);
  transition: background 0.3s ease;
}

.hero-container-layout {
  position: relative;
  z-index: 5;
  text-align: center;
}

.hero-title-main {
  font-size: 32px;
  font-weight: 800;
  color: var(--hero-title);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s ease;
}

.custom-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--breadcrumb-bg);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: background 0.3s ease;
}

.custom-breadcrumb a {
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: none;
}

.custom-breadcrumb .bread-chevron {
  color: var(--text-muted);
  font-size: 16px;
}

.custom-breadcrumb .bread-current {
  color: var(--text-dark);
  font-weight: 500;
}

/* الأيقونة العائمة التوضيحية لطبقات الكتب يسار البانر */
.floating-books-icon {
  position: absolute;
  left: 8%;
  bottom: 20px;
  width: 90px;
  height: 75px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: rotate(-10deg);
  opacity: 0.85;
}
.book-layer {
  height: 14px;
  border-radius: 4px;
}
.layer-1 {
  background-color: #ff6584;
  width: 80px;
}
.layer-2 {
  background-color: #38ef7d;
  width: 85px;
}
.layer-3 {
  background-color: #267fff;
  width: 75px;
}

/* كتلة الشروط والمعايير للقبول */
.lecturer-details-section {
  padding: 60px 0;
  background-color: var(--body-bg);
  transition: background 0.3s ease;
}

.details-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.block-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.block-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 30px;
  text-align: justify;
}

.lecturer-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.lecturer-bullets li {
  position: relative;
  padding-right: 25px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 18px;
  text-align: justify;
}

.lecturer-bullets li::before {
  content: "•";
  position: absolute;
  right: 5px;
  top: -2px;
  color: var(--text-muted);
  font-size: 22px;
}

.form-invitation-note {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  background: var(--note-bg);
  padding: 24px;
  border-radius: 12px;
  border-right: 4px solid var(--primary-neon);
  transition: background 0.3s ease;
}

/* الاستمارة التفاعلية الفاخرة */
.lecturer-form-section {
  padding: 40px 0 80px;
  background: var(--bg-gradient-soft);
  transition: background 0.3s ease;
}

.form-container-box {
  background-color: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(96, 38, 247, 0.04);
  padding: 50px 40px;
  max-width: 1150px;
  margin: 0 auto;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.form-header-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 45px;
}

.form-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-neon);
}

/* تعديل لون نص الليبل ليكون متناسق في الدارك مود */
body.dark-mode .form-group label,
body.dark .form-group label,
[data-theme="dark"] .form-group label {
  color: var(--hero-title);
}

.required-star {
  color: var(--required-color);
  margin-right: 2px;
}

.input-with-icon,
.textarea-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea,
.textarea-wrapper textarea {
  width: 100%;
  background-color: var(--field-bg);
  border: 1px solid var(--border-field);
  border-radius: 8px;
  padding: 16px 20px 16px 50px;
  font-size: 14.5px;
  font-family: "Cairo", sans-serif;
  color: var(--text-dark);
  transition: all 0.25s ease-in-out;
  outline: none;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus,
.textarea-wrapper textarea:focus {
  border-color: var(--primary-neon);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(96, 38, 247, 0.08);
}

/* ربط وتوزيع خلفيات الأيقونات البنفسجية الذكية */
.field-icon {
  position: absolute;
  left: 20px;
  width: 20px;
  height: 20px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.85;
}

.user-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E");
}
.email-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}
.whatsapp-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236026f7' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946C.06 5.348 5.397.01 12.008.01s6.212 1.246 8.477 3.513c2.266 2.268 3.507 5.28 3.505 8.484-.004 6.657-5.34 11.997-11.953 11.997-2.005-.001-3.973-.502-5.713-1.457L0 24z'/%3E%3C/svg%3E");
}
.phone-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.94.725l.548 2.2a1 1 0 01-.321.988l-1.305.98a10.582 10.582 0 004.872 4.872l.98-1.305a1 1 0 01.988-.321l2.2.548a1 1 0 01.725.94V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
}
.group-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}
.calendar-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 3V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}
.chevron-down-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  pointer-events: none;
}
.academy-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 14l9-5-9-5-9 5 9 5z'/%3E%3Cpath d='M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z'/%3E%3C/svg%3E");
}
.brief-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
}
.clock-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}
.trophy-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 14l9-5-9-5-9 5 9 5z'/%3E%3C/svg%3E");
}
.book-input-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253'/%3E%3C/svg%3E");
}
.facebook-brand-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236026f7' viewBox='0 0 24 24'%3E%3Cpath d='M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z'/%3E%3C/svg%3E");
}
.linkedin-brand-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236026f7' viewBox='0 0 24 24'%3E%3Cpath d='M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z'/%3E%3C/svg%3E");
}
.doc-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
}
.user-avatar-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
}
.pencil-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236026f7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z'/%3E%3C/svg%3E");
  top: 20px;
}

.full-width-form-layouts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.custom-file-trigger {
  width: 100%;
  background-color: var(--field-bg);
  border: 1px solid var(--border-field);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px;
  transition:
    background 0.3s ease,
    border 0.3s ease;
}

.btn-choose-file {
  background-color: #efefef;
  border: 1px solid #767676;
  color: #000000;
  padding: 6px 14px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  border-radius: 3px;
  margin-left: 12px;
  user-select: none;
}

body.dark-mode .btn-choose-file,
body.dark .btn-choose-file,
[data-theme="dark"] .btn-choose-file {
  background-color: #38304d;
  border-color: #524670;
  color: #ffffff;
}

.file-status-text {
  font-size: 14px;
  color: var(--text-muted);
}

.file-upload-wrapper .field-icon {
  left: 20px;
  top: 17px;
}

.tall-textarea {
  min-height: 160px;
  resize: vertical;
  padding-top: 16px !important;
}

.form-submit-center {
  text-align: center;
  margin-top: 45px;
}

.btn-submit-application {
  background: linear-gradient(
    135deg,
    var(--primary-neon) 0%,
    var(--secondary-neon) 100%
  );
  color: #ffffff;
  border: none;
  padding: 16px 60px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Cairo", sans-serif;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(96, 38, 247, 0.25);
  transition: all 0.25s ease-in-out;
}

.btn-submit-application:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(96, 38, 247, 0.35);
  opacity: 0.95;
}

/* الأزرار العائمة الثابتة */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: transform 0.2s;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
}

.floating-scroll-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background-color: var(--field-bg);
  color: var(--primary-neon);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* التجاوب والتوافق شاشات المحمول */
@media (max-width: 991px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .instructor-hero {
    text-align: center;
  }
  .form-grid-layout {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .form-container-box {
    padding: 30px 20px;
  }
  .hero-title-main {
    font-size: 26px;
  }
  .floating-books-icon {
    display: none;
  }
}

@media (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .tabs-control {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}
