:root {
  --rojo: #c60b1e;
  --amarillo: #ffc400;
  --bg: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--bg);
  color: #333;
}

/* Header */
header {
  background: var(--rojo);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
}

header .logo a {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

header nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

header nav a.active, header nav a:hover {
  border-bottom: 2px solid var(--amarillo);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  background: linear-gradient(to right, var(--amarillo), var(--rojo));
  color: white;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.btn {
  background: white;
  color: var(--rojo);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

/* Features */
.features {
  padding: 50px 10%;
  text-align: center;
}

.features h2 {
  margin-bottom: 30px;
  color: var(--rojo);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 1.1em;
}

/* Channels */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 10%;
}

.category {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.toggle {
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 1.1em;
  font-weight: bold;
  background: var(--rojo);
  color: white;
  border: none;
  cursor: pointer;
}

.toggle:hover {
  background: var(--amarillo);
  color: black;
}

.content {
  list-style: none;
  padding: 15px;
  margin: 0;
  display: block; /* مفتوحة افتراضياً */
}

.content li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.content li:last-child {
  border-bottom: none;
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
}

.whatsapp img {
  width: 100%;
}

/* Pricing */
.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.package {
  background: linear-gradient(to bottom, #ffcc00, #f4f8ff);
  border: 2px solid var(--rojo);
  border-radius: 15px;
  width: 250px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.package:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.package h2 {
  color: var(--rojo);
  text-align: center;
  margin-bottom: 15px;
}

.package p.price {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--rojo);
}

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

.package ul li {
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.package ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--rojo);
}

.package-button {
  display: block;
  margin: 20px auto 0 auto;
  background-color: var(--rojo);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.package-button:hover {
  background-color: #a00a18;
}

/* Footer */
footer {
  background-color: var(--rojo);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

footer a {
  color: var(--amarillo);
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  width: 60px;  /* حجم الأيقونة */
  height: 60px;
  bottom: 20px; /* المسافة من الأسفل */
  right: 20px;  /* المسافة من اليمين */
  z-index: 100; /* للتأكد أنها فوق كل شيء */
  display: block;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* شكل دائري */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

.whatsapp-float {
  position: fixed;
  width: 80px;     /* حجم أكبر وواضح */
  height: 80px;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* لضمان ملء الإطار بالكامل */
  border-radius: 50%; /* شكل دائري */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

.hero-img img {
  width: 400px;   /* عرض الصورة */
  height: auto;   /* يحافظ على تناسب الأبعاد */
}

/* Page Banner */
.page-banner {
  display: flex;
  justify-content: center;   /* توسيط أفقي */
  align-items: center;       /* توسيط عمودي */
  text-align: center;        /* توسيط النصوص */
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* خلفية متدرجة */
  color: #fff;
  padding: 60px 20px;        /* مسافة داخلية */
  border-radius: 12px;       /* زوايا دائرية */
  margin: 20px auto;
  max-width: 900px;          /* عرض أقصى */
  box-shadow: 0 6px 20px rgba(0,0,0,0.2); /* ظل جميل */
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-banner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ✅ تحسين العرض على الهاتف */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  header nav {
    margin-top: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-img img {
    width: 100% !important;
    max-width: 250px !important; /* حجم مناسب للشاشات الصغيرة */
    height: auto !important;
    margin: auto;
    display: block;
  }

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

  .channels-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .package {
    width: 90%;
  }

  .page-banner {
    flex-direction: column;
    padding: 40px 20px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .page-banner p {
    font-size: 1rem;
  }
}
**************************
/* Feedback */
.feedback-container { max-width:800px; margin:40px auto; padding:0 10px; }
.feedback-form input, .feedback-form textarea {
  width:100%; padding:10px; margin:8px 0; border-radius:6px; border:1px solid #ddd; font-family:Arial,sans-serif;
}
.feedback-form button {
  background: var(--rojo); color:white; border:none; padding:10px 14px; border-radius:6px; font-weight:bold; cursor:pointer;
}
.feedback-form button:hover { background: var(--amarillo); color:black; }
.comments { margin-top:20px; }
.comment {
  background:white; padding:12px; border-radius:8px; margin-bottom:12px;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
}
.comment .meta { font-size:13px; color:#666; margin-bottom:6px; }



.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.feedback-form button {
  background: var(--rojo);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.feedback-form button:hover {
  background: var(--amarillo);
  color: black;
}

.comments .card {
  margin-bottom: 12px;
  padding: 12px;
}

