/* إعداد عام */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background-color: #0e0f1a;
  color: #fff;
  direction: rtl;
}

/* الهيدر */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #15162a;
  padding: 15px 20px;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.menu-icon,
.search-icon {
  font-size: 24px;
  cursor: pointer;
}

.site-name {
  font-size: 20px;
  font-weight: bold;
}

/* القائمة الجانبية */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 260px;
  height: 100%;
  background-color: #1b1c30;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 2000;
}

/* لما القائمة تكون مفتوحة */
.side-menu.open {
  transform: translateX(0%);
}

/* لما القائمة تتفتح، نمنع التمرير */
body.menu-open {
  overflow: hidden;
}

.menu-close {
  font-size: 28px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 20px;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu ul li {
  margin-bottom: 15px;
}

.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.2s;
}

.side-menu ul li a:hover {
  background-color: #2e2f4a;
}

/* قسم الترحيب */
.hero-welcome {
  background: linear-gradient(to bottom, #0e0f1a, #1f2235);
  padding: 80px 20px 60px;
  text-align: center;
}

.hero-welcome h1 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
}

.hero-welcome span {
  color: #00e0ff;
  font-weight: bold;
}

.hero-welcome p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.hero-btn {
  background-color: #00e0ff;
  color: #0e0f1a;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.hero-btn:hover {
  background-color: #00b7d6;
}

/* قسم المميزات */
.features-section {
  background-color: #181a2c;
  padding: 60px 20px;
}

.features-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
  color: #00e0ff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  background-color: #1f2235;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.feature-item span {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 16px;
  color: #fff;
}

/* قسم السيرفرات */
.servers-section {
  background-color: #0e0f1a;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 24px;
  color: #00e0ff;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 20px;
}

html {
  scroll-behavior: smooth;
}
/* الفوتر */
.main-footer {
  background-color: #15162a;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

.footer-contact p {
  margin: 10px 0;
}

.footer-contact a {
  color: #00e0ff;
  text-decoration: none;
}

.footer-icon {
  margin-left: 5px;
}

.footer-copy {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .hero-welcome h1 {
    font-size: 20px;
  }

  .hero-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .side-menu {
    width: 220px;
  }
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background-color: #1a1b2f;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.card-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.btn-view, .btn-whatsapp {
  display: block;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* زر عرض الباقة – أزرق */
.btn-view {
  background-color: #00e0ff;
  color: #0e0f1a;
}

.btn-view:hover {
  background-color: #00b7d6;
}

/* زر واتساب – أخضر */
.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

.card h3 {
  margin: 10px 0;
  color: #fff;
  font-size: 18px;
}

.card p {
  font-size: 16px;
  color: #ccc;
}

.card .btn-view,
.card .btn-whatsapp {
  display: block;
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-view {
  background-color: #00e0ff;
  color: #000;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
}

/* تصنيفات الألوان */
.card.silver {
  border: 2px solid silver;
}

.card.gold {
  border: 2px solid gold;
}

.card.diamond {
  border: 2px solid #5ef1f3;
}
/* لإخفاء القوائم الفرعية بشكل افتراضي */
.hidden-list {
  display: none;
}

/* تنسيق بسيط لقوائم السيرفرات داخل القائمة الجانبية */
.dropdown-list {
  margin-right: 15px;
  list-style: none;
  padding-right: 10px;
}
.accordion-content {
  display: none;
  list-style: none;
  padding-right: 15px;
}
.accordion-content.open {
  display: block;
}
.accordion-toggle {
  background: none;
  border: none;
  color: white;
  text-align: right;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
}
.accordion-toggle:hover {
  color: #00e0ff;
}
.badge {
  background-color: #ff4081;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 12px;
  margin-right: 8px;
  vertical-align: middle;
  font-weight: bold;
}
.whatsapp-chat-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.whatsapp-chat-button:hover {
  background-color: #1ebe5d;
}

.whatsapp-chat-button img {
  width: 24px;
  height: 24px;
  margin-left: 10px;
}
.diamond-section {
  padding: 50px 20px;
  background: #0c0c1d;
  text-align: center;
}

.section-title {
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
}


.diamond-slider-container {
  position: relative;
  overflow: hidden;
}

.diamond-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.diamond-slider::-webkit-scrollbar {
  display: none;
}

.diamond-slider img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 10px;
 transition: transform 0.3s ease;
}
.diamond-prev, .diamond-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  font-size: 30px;
  border: none;
  cursor: pointer;
  padding: 5px 15px;
  z-index: 10;
}
.diamond-prev {
  left: 0;
}
.diamond-next {
  right: 0;
}
.diamond-title {
  color: #ffffff; /* لون أبيض */
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 30px 0 10px;
  text-shadow: 0 0 8px #00d5ff; /* توهج سماوي خفيف */
  letter-spacing: 1px;
}
.diamond-slider .card {
  width: 200px;
  margin: 0 10px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.gold-section {
  text-align: center;
  margin-top: 60px;
}

.gold-title {
  color: gold;
  font-size: 26px;
  margin-bottom: 15px;
}

.gold-slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.gold-slider img {
  width: 250px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.gold-prev, .gold-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: gold;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.gold-prev { left: 10px; }
.gold-next { right: 10px; }
.slider-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.gold-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 10px;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 1;
}

.gold-prev, .gold-next {
  background-color: gold;
  color: black;
  border: none;
  font-size: 22px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 8px;
  opacity: 0.8;
}

.gold-prev:hover, .gold-next:hover {
  opacity: 1;
}
#gold-section .diamond-next,
#gold-section .diamond-prev {
  background-color: gold !important;
  color: black !important;
  box-shadow: 0 0 10px gold;
}
/* قسم الباقة الفضية */
.silver-section {
  margin: 40px auto;
  text-align: center;
  direction: rtl;
}

.silver-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: silver;
}

.silver-slider-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: 0 40px;
}

.silver-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.silver-slider img {
  width: 220px;
  height: auto;
  flex-shrink: 0;
  border-radius: 10px;
  transition: transform 0.3s;
}

.silver-slider img:hover {
  transform: scale(1.05);
}

.silver-prev,
.silver-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: silver;
  color: black;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 50%;
  transition: background-color 0.3s;
}
/* ✅ تنسيقات الفوتر */
.main-footer {
  background-color: #111; /* خلفية داكنة */
  color: #fff; /* لون النص أبيض */
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid #444;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-inner h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #00ffcc;
}

.footer-contact p {
  margin: 10px 0;
  font-size: 16px;
}

.footer-contact a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
}

.footer-icon {
  margin-right: 6px;
}

.footer-copy {
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

.silver-prev:hover,
.silver-next:hover {
  background-color: #ccc;
}

.silver-prev {
  left: 0;
}

.silver-next {
  right: 0;
}
/* تحسين ظهور عنوان السيرفرات المميزة */
h2.section-title {
  font-size: 24px;
  color: #ffffff; /* أبيض ناصع */
  text-align: center;
  margin-top: 40px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* تحسين ظهور الفقرة تحت العنوان */
.section-description {
  font-size: 18px;
  color: #ccc;
  text-align: center;
  line-height: 1.8;
  max-width: 90%;
  margin: 0 auto 30px;
}
.main-footer {
  display: block !important;
}
.side-menu {
  max-height: 100vh;          /* يمنع تجاوز الشاشة */
  overflow-y: auto;           /* تفعيل سكرول عمودي */
  scroll-behavior: smooth;    /* سكرول ناعم */
}

.side-menu::-webkit-scrollbar {
  width: 6px;
}

.side-menu::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 3px;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html, body {
  height: 100%;
}

footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* منع أي margin سفلي من آخر العناصر */
body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* تحسين مكان زر واتساب بدون حجز مساحة */
.whatsapp-floating {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  pointer-events: auto;
}
/* ===== قسم التعليقات (Reviews) ===== */
.reviews-wrap{
  max-width: 980px;
  margin: 40px auto 30px;
  padding: 0 16px;
}
.review-card{
  background: #0f1730;
  border: 1px solid rgba(0,224,255,.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: 22px;
  color: #e7f6ff;
}
.review-title{
  display:flex; align-items:center; gap:10px;
  font-weight:800; font-size:22px; margin:0 0 14px; color:#00d5ff;
  text-shadow: 0 0 8px rgba(0,213,255,.4);
}
.review-title .emoji{font-size:22px}

.review-form{
  display:grid; gap:12px;
  grid-template-columns: 1fr 1fr;
}
.review-form .full{grid-column: 1/-1}
.review-form label{font-size:13px; color:#9fc7d4; display:block; margin-bottom:6px}
.review-form input[type="text"],
.review-form select,
.review-form textarea{
  width:100%; background:#0c1226; color:#fff;
  border:1px solid rgba(0,224,255,.15);
  border-radius:10px; padding:12px 14px; outline:none;
  transition: box-shadow .2s, border-color .2s;
}
.review-form textarea{min-height:110px; resize:vertical}
.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus{
  border-color:#00d5ff; box-shadow:0 0 0 3px rgba(0,213,255,.12)
}

/* نجوم التقييم */
.rating{
  display:flex; gap:6px; align-items:center;
  direction:ltr; /* عشان النجوم تبقى من اليسار لليمين */
}
.star{
  font-size:24px; cursor:pointer; user-select:none; line-height:1;
  filter: drop-shadow(0 0 6px rgba(0,213,255,.15));
}
.star.off{color:#6c7a87}
.star.on {color:#ffd45f; text-shadow:0 0 10px rgba(255,212,95,.45)}

.btn-send{
  background:#00e0ff; color:#00121a; font-weight:800;
  padding:12px 16px; border:0; border-radius:12px; cursor:pointer;
  transition: transform .05s ease, box-shadow .2s, opacity .2s;
  box-shadow:0 10px 22px rgba(0,224,255,.15);
}
.btn-send:active{ transform: translateY(1px) }
.btn-send[disabled]{ opacity:.65; cursor:not-allowed }

/* تنبيهات */
.toast{
  position:fixed; left:50%; bottom:24px; transform:translateX(-50%);
  background:#122447; color:#e7f6ff; border:1px solid rgba(0,224,255,.18);
  border-radius:10px; padding:10px 14px; font-weight:700; z-index:9999;
  box-shadow:0 10px 24px rgba(0,0,0,.3);
  display:none;
}
.toast.ok{ border-color:#29e0a9; color:#caffec }
.toast.err{ border-color:#ff6b6b; color:#ffe6e6 }

/* موبايل */
@media (max-width: 640px){
  .review-form{ grid-template-columns: 1fr; }
}
/* عرض قائمة التعليقات */
.review-list{
  margin-top:16px;
}
.review-item{
  background:#0c1226;
  border:1px solid rgba(0,224,255,.08);
  border-radius:12px;
  padding:12px 14px;
  color:#e7f6ff;
  box-shadow:0 6px 16px rgba(0,0,0,.2);
  margin-bottom:10px;
}

.review-head{
  display:flex; align-items:baseline; gap:8px; flex-wrap:wrap;
  margin-bottom:6px;
}
.review-head strong{ font-weight:800; color:#fff }
.review-head .country{ color:#9fc7d4 }
.review-head .stars{ margin-inline-start:6px; color:#ffd45f; text-shadow:0 0 8px rgba(255,212,95,.35) }

.review-body{ color:#dbeeff }
.review-time{ margin-top:6px; font-size:12px; color:#9fc7d4 }

/* رسائل النموذج */
.form-msg{ margin-top:8px; font-weight:700 }
.form-msg.ok{ color:#29e0a9 }
.form-msg.error{ color:#ff6b6b }
.reviews-heading{
  margin:14px 0 8px; font-size:18px; font-weight:800; color:#9fc7d4
}
