@charset "UTF-8";
/* ملف CSS خاص بك - styles.css */
/* عام */
img, video {
  max-width: 100%;
  height: auto;
  display: block; }

/* جسم الصفحة */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  line-height: 1.6; }

/* رأس الصفحة ثابت في الأعلى */
header, .top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999; }

body {
  padding-top: 90px;
  /* مساحة للرأس */ }

/* الشريط العلوي */
.top-nav {
  background-color: #5C5C5C;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }

.top-nav button {
  background: transparent;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 0 8px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s; }

.top-nav button:hover {
  background-color: #555; }

/* المسافة بين الشريط والمحتوى */
body {
  padding-top: 90px; }

/* زر الأزرار الرئيسية */
.hero-button {
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  border: 2px solid #000;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s; }

.hero-button:hover {
  background-color: #000;
  color: #fff; }

/* قسم hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 80px 20px 20px 20px;
  background: #0A264D; }

.hero-left, .hero-right {
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; }

.hero-image {
  width: 80%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px; }

.hero-text {
  font-size: 24px;
  font-weight: bold;
  color: #FDFDFD;
  margin-bottom: 20px; }

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; }

/* بطاقات */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; }

.card {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  width: 320px;
  border: 2px solid #333;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); }

.card-header {
  background-color: #0A264D;
  padding: 15px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px; }

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; }

.card-body p {
  margin-bottom: 20px;
  font-size: 1em;
  color: #000; }

.card button {
  align-self: center;
  background-color: #28a745;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s; }

.card button:hover {
  background-color: #218838; }

/* قسم الفيديوهات */
.videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px; }

.video-item {
  width: 80%;
  max-width: 600px; }

iframe {
  width: 100%;
  height: 340px;
  border: none;
  border-radius: 8px; }

/* استجابة الهاتف */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 120px; }

  .hero-left, .hero-right {
    width: 100%;
    margin-bottom: 20px; }

  .cards-container {
    flex-direction: column;
    align-items: center; }

  .video-item {
    width: 100%; }

  #userInput {
    width: 100%; } }
/* قاعدة عامة */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6; }

/* رأس الصفحة ثابت */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999; }

/* الشريط العلوي */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #5C5C5C;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }

.top-nav button {
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 5px 8px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s; }

.top-nav button:hover {
  background-color: #555; }

/* مسافة للتنقل بعد الشريط */
body {
  padding-top: 80px; }

/* أزرار أيقونات التواصل */
.top-nav a img {
  width: 30px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s; }

.top-nav a img:hover {
  transform: scale(1.1); }

/* قسم الـ hero */
.hero {
  background-color: #fff;
  padding: 50px 20px;
  text-align: center; }

.hero h3 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #0A264D; }

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #34495e; }

.cta-button {
  background-color: #0A264D;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  transition: background-color 0.3s; }

.cta-button:hover {
  background-color: #C9A86A; }

/* قسم المنتجات */
#products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  background-color: #ecf0f1; }

/* بطاقة المنتج */
.product-card {
  background-color: #fff;
  width: 250px;
  margin: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s; }

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }

.product-image {
  width: 100%;
  height: auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center; }

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px; }

.product-details {
  padding: 15px;
  text-align: center; }

.product-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #2c3e50; }

.product-price {
  font-size: 1em;
  margin-bottom: 15px;
  color: #27ae60; }

.buy-button {
  background-color: #28a745;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s; }

.buy-button:hover {
  background-color: #218838; }

/* قسم المميزات */
.features {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center; }

.features h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #C9A86A; }

.features p {
  max-width: 800px;
  margin: 0 auto 15px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #34495e; }

/* التذييل */
footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 30px 20px;
  text-align: center; }

footer a {
  color: #ecf0f1;
  margin: 0 10px;
  text-decoration: none; }

footer a:hover {
  text-decoration: underline; }

/* استجابة الهاتف */
@media (max-width: 768px) {
  .hero h3 {
    font-size: 1.5em; }

  .product-card {
    width: 90%; }

  .top-nav {
    flex-direction: column; }

  .top-nav a img {
    width: 25px; } }
/* Reset بعض القواعد الأساسية */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

/* جسم الصفحة */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f7f8;
  color: #333;
  line-height: 1.6;
  padding-top: 90px;
  /* لتجنب تغطية الرأس الثابت */ }

/* الرأس الثابت */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999; }

/* الشريط العلوي */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #5C5C5C;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999; }

/* أزرار الشريط */
.top-nav button {
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 5px 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s; }

.top-nav button:hover {
  background-color: #555; }

/* روابط الأيقونات في الشريط */
.top-nav a img {
  width: 30px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s; }

.top-nav a img:hover {
  transform: scale(1.1); }

/* مسافة بعد الشريط العلوي لضمان عدم تغطيته */
body {
  padding-top: 80px; }

/* قسم hero */
.hero {
  background-color: #0A264D;
  padding: 80px 20px;
  text-align: center;
  color: #fff; }

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px; }

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px; }

.btn {
  background-color: #C9A86A;
  color: #fff;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s; }

.btn:hover {
  background-color: #CD9C3E; }

/* أقسام المحتوى */
section {
  padding: 50px 20px; }

/* عناوين الأقسام */
section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #C9A86A; }

/* حاوية البطاقات */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; }

/* بطاقات الكورسات والخدمات */
.card {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); }

/* رأس البطاقة */
.card-header {
  background-color: #0A264D;
  padding: 15px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px; }

/* جسم البطاقة */
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1; }

.card-body p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #000; }

/* أزرار البطاقات */
.card button {
  align-self: center;
  background-color: #28a745;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s; }

.card button:hover {
  background-color: #218838; }

/* قسم الفيديوهات */
.videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px; }

.video-item {
  width: 80%;
  max-width: 600px;
  text-align: center; }

iframe {
  width: 100%;
  height: 340px;
  border: none;
  border-radius: 8px; }

/* التذييل */
footer {
  background-color: #0A264D;
  color: #ccc;
  padding: 30px 20px;
  text-align: center; }

footer a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none; }

footer a:hover {
  text-decoration: underline; }

/* استجابة الهاتف */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center; }

  .video-item {
    width: 90%; }

  .top-nav {
    flex-direction: column; }

  .top-nav a img {
    width: 25px; }

  .hero h1 {
    font-size: 2em; } }
/*  الكورسات */
/* Reset بعض القواعد الأساسية */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

/* جسم الصفحة */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f7f8;
  color: #333;
  line-height: 1.6;
  padding-top: 80px;
  /* لتجنب تغطية الرأس الثابت */ }

/* عنوان hero */
.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #0A264D; }

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-align: center; }

.btn {
  background-color: #C9A86A;
  color: #fff;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  display: inline-block;
  transition: background-color 0.3s;
  margin-top: 10px; }

.btn:hover {
  background-color: #CD9C3E; }

/* الأقسام */
section {
  padding: 50px 20px; }

/* عناوين الأقسام */
section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #C9A86A; }

/* حاوية البطاقات */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; }

/* بطاقات الكورسات والخدمات */
.card {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); }

/* رأس البطاقة */
.card-header {
  background-color: #0A264D;
  padding: 15px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px; }

/* جسم البطاقة */
.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; }

.card-body p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #000; }

/* أزرار البطاقات */
.card button {
  align-self: center;
  background-color: #28a745;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s; }

.card button:hover {
  background-color: #218838; }

/* قسم الفيديوهات */
.videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px; }

.video-item {
  width: 80%;
  max-width: 600px;
  text-align: center; }

iframe {
  width: 100%;
  height: 340px;
  border: none;
  border-radius: 8px; }

/* التذييل */
footer {
  background-color: #0A264D;
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px; }

/* روابط التذييل */
footer a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none; }

footer a:hover {
  text-decoration: underline; }

/* استجابة الهاتف */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center; }

  .video-item {
    width: 90%; }

  /* تعديل النصوص */
  section h2 {
    font-size: 1.5em; } }
/* اتصل بنا */
/* أساسية للجسم */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7f8;
  color: #333;
  line-height: 1.6; }

/* رأس الصفحة ثابت */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999; }

/* محتوى الصفحة بعد رأس ثابت */
body {
  padding-top: 100px;
  /* زيادة للمسافة */ }

/* الصور والفيديوهات تتجاوب */
img,
video {
  max-width: 100%;
  height: auto;
  display: block; }

/* الشريط العلوي */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #5C5C5C;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999; }

/* أزرار الشريط */
.top-nav button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin: 5px 10px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
  display: flex;
  align-items: center; }

.top-nav button:hover {
  background-color: #555; }

/* أيقونات داخل الأزرار */
.top-nav button img {
  width: 30px;
  height: auto; }

/* فاصل بين الشريط والمحتوى */
.content-separator {
  margin-top: 120px; }

/* تنسيق قسم hero */
.hero {
  margin-top: 40px;
  background-color: #0A264D;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative; }

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
  color: #FFFFFF; }

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  color: #FFFFFF; }

.cta-btn {
  background-color: #fff;
  color: #333;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s; }

.cta-btn:hover {
  background-color: #C9A86A;
  color: #fff;
  transform: scale(1.05); }

/* قسم تواصل */
#contact {
  padding: 60px 20px;
  background-color: #fff;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }

#contact h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  color: #2c3e50;
  position: relative; }

#contact h2::after {
  content: "";
  width: 80px;
  height: 3px;
  background-color: #3498db;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px; }

/* النموذج */
.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px; }

form {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 15px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  padding: 15px;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  resize: none; }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
  outline: none; }

/* زر الإرسال */
.btn-submit {
  background-color: #3498db;
  color: #fff;
  padding: 15px 25px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s; }

.btn-submit:hover {
  background-color: #2980b9;
  transform: scale(1.02); }

/* معلومات التواصل */
.contact-info {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px; }

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s; }

.info-item:hover {
  background-color: #f1f1f1;
  cursor: pointer; }

.info-item i {
  color: #3498db;
  font-size: 24px; }

/* الخريطة */
.map {
  width: 100%;
  height: 400px;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden; }

/* استجابة الشاشة */
@media (max-width: 768px) {
  body {
    padding-top: 150px; }

  #contact {
    padding: 30px 20px; }

  .form-container {
    flex-direction: column;
    align-items: center; }

  form, .contact-info {
    flex: 1 1 100%; } }
/* من انا
*/
/* إعدادات عامة للجسم */
body {
  font-family: 'Amiri', serif;
  background-color: #f0f2f5;
  margin: 0;
  padding: 0;
  color: #2c3e50; }

/* عنوان الصفحة */
h1 {
  text-align: center;
  font-size: 36px;
  margin-top: 20px;
  color: #2c3e50; }

/* الحاوية الرئيسية */
.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: calc(100vh - 80px); }

/* كل عمود */
.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px; }

/* القسم الإنجليزي على اليسار */
.english {
  direction: ltr;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif; }

/* القسم العربي على اليمين */
.arabic {
  direction: rtl;
  text-align: right; }

/* أقسام المحتوى */
.section {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 20px;
  transition: transform 0.2s; }

.section:hover {
  transform: translateY(-3px); }

/* عناوين الأقسام */
.section h2 {
  font-size: 22px;
  color: #2980b9;
  margin-bottom: 15px;
  position: relative; }

.section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #2980b9;
  margin-top: 8px;
  border-radius: 1px; }

/* النصوص */
p, ul {
  margin-bottom: 10px;
  font-size: 14px; }

/* قائمة النقاط */
ul {
  list-style: none;
  padding: 0; }

li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative; }

li::before {
  content: "•";
  color: #2980b9;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0; }

/* روابط */
a {
  color: #2980b9;
  text-decoration: none; }

a:hover {
  text-decoration: underline; }

/* التذييل */
footer {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px; }

/* استجابة الشاشة */
@media (max-width: 768px) {
  body {
    padding: 10px; }

  .container {
    flex-direction: column; }

  .section {
    padding: 20px; } }
/*  العاب */
/* الخطوط العامة */
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6; }

/* رأس الصفحة */
header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; }

header h1 {
  color: #fff;
  margin: 0;
  font-size: 1.8em; }

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; }

nav ul li a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em; }

.nav-ul li a:hover {
  text-decoration: underline; }

/* زر الدعوة للعمل */
.cta-button {
  background-color: #e67e22;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-block;
  margin-top: 10px; }

.cta-button:hover {
  background-color: #d35400; }

/* قسم الـ Hero */
.hero {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 80px 20px;
  text-align: center;
  color: #fff; }

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 20px; }

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px; }

.btn-cta {
  background-color: #e67e22;
  padding: 15px 30px;
  border-radius: 25px;
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block; }

.btn-cta:hover {
  background-color: #d35400; }

/* قسم الفيديو */
.video-section {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center; }

.video-section h3 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #000; }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* نسبة 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto; }

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; }

/* قسم الألعاب */
.games {
  padding: 50px 20px; }

.games h3 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: #000; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; }

.card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s; }

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover; }

@media (min-width: 768px) {
  .card img {
    height: 250px; } }
/* بطاقة تفاصيل اللعبة */
.card-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; }

.card-body h4 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #2c3e50; }

.card-body p {
  font-size: 0.95em;
  margin-bottom: 10px;
  flex-grow: 1; }

.price {
  font-weight: bold;
  margin-bottom: 10px;
  color: #27ae60; }

.buy-btn {
  background-color: #27ae60;
  color: #fff;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  display: block; }

.buy-btn:hover {
  background-color: #219150; }

/* قسم الميزات */
.features {
  background-color: #ecf0f1;
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; }

.feature {
  flex: 1 1 200px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s; }

.feature:hover {
  transform: translateY(-5px); }

.feature h4 {
  margin-bottom: 15px;
  color: #2980b9; }

/* التذييل */
footer {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ecf0f1;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }

footer .footer-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px; }

footer a {
  color: #ecf0f1;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.95em; }

footer a:hover {
  text-decoration: underline; }

/* استجابة الشاشات الصغيرة */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start; }

  header h1 {
    font-size: 1.5em; }

  nav ul {
    justify-content: flex-start;
    gap: 10px; }

  .hero h2 {
    font-size: 2em; }

  .hero p {
    font-size: 1em; }

  .btn-cta {
    font-size: 1em;
    padding: 10px 20px; }

  .video-container {
    padding-bottom: 56.25%;
    /* نسبة 16:9 */ }

  .cards {
    grid-template-columns: 1fr; }

  .card img {
    height: 200px; }

  footer {
    flex-direction: column;
    align-items: flex-start; } }
/*  اسئلة */
/* إعدادات عامة للجسم */
body {
  font-family: Arial, sans-serif;
  background-color: #F7F7F7;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  line-height: 1.6;
  color: #333; }

/* عنوان الصفحة الرئيسي */
h1 {
  color: #0A264D;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em; }

/* أقسام المحتوى */
.section {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto; }

/* عنوان القسم داخل كل قسم */
.section h2 {
  color: #0A264D;
  margin-bottom: 15px;
  font-size: 1.8em;
  text-align: right; }

/* تصميم الأسئلة */
.question {
  background-color: #C9A86A;
  color: #fff;
  padding: 15px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.3s; }

.question:hover {
  animation: shake 0.5s;
  animation-iteration-count: 1;
  background-color: #b58c55;
  /* لون غامق قليلاً عند التمرير */ }

/* تأثير الاهتزاز عند تمرير الماوس */
@keyframes shake {
  0% {
    transform: translate(0px, 0px); }
  20% {
    transform: translate(-2px, 0px); }
  40% {
    transform: translate(2px, 0px); }
  60% {
    transform: translate(-2px, 0px); }
  80% {
    transform: translate(2px, 0px); }
  100% {
    transform: translate(0px, 0px); } }
/* الإجابات المخفية بشكل افتراضي */
.answer {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #C9A86A;
  border-top: none;
  display: none;
  border-radius: 0 0 5px 5px;
  margin-top: -1px;
  /* لضمان عدم وجود فجوة بين السؤال والإجابة */ }

/* نص السؤال */
.question span {
  font-size: 16px; }

/* نص الإجابة */
.answer p {
  margin: 10px 0;
  font-size: 14px;
  color: #333; }

/* تحسين مظهر العناوين داخل كل قسم */
h2.english-text {
  font-family: 'Arial', sans-serif;
  font-size: 35px;
  color: #0A264D;
  text-align: right;
  margin-bottom: 15px; }

/* استجابة للهواتف والأجهزة الصغيرة */
@media (max-width: 768px) {
  body {
    padding: 10px; }

  h2.english-text {
    font-size: 25px; }

  .section h2 {
    font-size: 1.5em; } }
/* البوت */
/* إعادة تعيين بعض العناصر لضمان التوافق */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

/* إعدادات عامة للجسم */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  line-height: 1.6;
  padding-top: 80px;
  /* تباعد عن الشريط العلوي */
  display: flex;
  flex-direction: column;
  align-items: center; }

/* الشريط العلوي الثابت */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #5C5C5C;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap; }

.top-nav button {
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 5px 8px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s; }

.top-nav button:hover {
  background-color: #555; }

/* قسم الترحيب */
.welcome-message {
  margin-top: 140px;
  padding: 20px;
  max-width: 900px;
  width: 90%;
  background: linear-gradient(45deg, #00c3ff, #faff00);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #222;
  text-align: center; }

.welcome-message h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #fff; }

.welcome-message p {
  font-size: 20px;
  color: #ddd; }

/* قسم أزرار الصفحة */
.buttons-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px; }

.hero-button {
  background-color: #fff;
  color: #000;
  padding: 12px 25px;
  border: 2px solid #000;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s; }

.hero-button:hover {
  background-color: #000;
  color: #fff; }

/* حاوية البوت */
.chat-container {
  max-width: 700px;
  width: 90%;
  margin: 50px auto;
  padding: 20px;
  background: linear-gradient(45deg, #0000ff, #ffcc00);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #333;
  display: flex;
  flex-direction: column;
  gap: 10px; }

/* منطقة الرسائل */
.messages {
  height: 350px;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px; }

/* رسائل المستخدم */
.message.user {
  background-color: #e0e0e0;
  align-self: flex-end;
  text-align: right; }

/* رسائل البوت */
.message.bot {
  background-color: #f0f0f0;
  align-self: flex-start;
  text-align: left; }

/* حقل الإدخال */
#userInput {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  border: 2px solid #000;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s; }

#userInput:focus {
  border-color: #333; }

/* زر الإرسال */
.send-btn {
  padding: 12px 20px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  margin-left: 10px;
  cursor: pointer;
  transition: background-color 0.3s; }

.send-btn:hover {
  background-color: #333; }

/* استجابة للأجهزة الصغيرة */
@media (max-width: 768px) {
  body {
    padding: 10px; }

  .welcome-message {
    margin-top: 100px; }

  #userInput {
    width: calc(100% - 80px); }

  .top-nav {
    flex-direction: column; }

  .top-nav button {
    margin: 5px 0; }

  .chat-container {
    margin: 20px auto; } }
