/* إعدادات عامة */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background-color: #1e1e1e;
  color: #fff;
  overflow-x: hidden;
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

.side-title {
  font-size: 28px;
  font-weight: bold;
  color: #ff9f43;
  margin-bottom: 30px;
  border-right: 4px solid #ff9f43;
  padding-right: 10px;
  text-align: right;
}

/* ===== الشريط العلوي ===== */
.top-bar {
  background: rgba(25, 25, 25, 0.95);
  box-shadow: 0 2px 10px rgba(255, 159, 67, 0.2);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  backdrop-filter: blur(10px);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* ===== اللوجو والاسم جنب بعض ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 20px; /* المسافة بين الصورة والنص */
}

.brand img.logo {
  width: 50px;
  height: 50px;
  border-radius: 70%;
  object-fit: cover;
}

.brand-text {
  font-style: italic;
  line-height: 1.12;
  font-size: 25px;
  font-weight: 900; /* بدل 700 → صار أكثر سمكًا */
  font-family: "Poppins", "Tajawal", sans-serif;
  -webkit-text-stroke: 1px black; /* حدود للنص */
}

.brand-text .black {
  color: #ff9f43;
  display: block;
  font-weight: 900; /* تأكد أن الاسم نفسه سمك 900 */
}


/* ===== أيقونات السوشيال ===== */
.social-icons {
  display: flex;
  gap: 30px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ff9f43;
}

/* ===== متجاوب مع الموبايل ===== */
@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-text {
    font-size: 20px;
    text-align: center;
  }

  .social-icons {
    gap: 15px;
  }
}

/* ===== القسم الرئيسي ===== */
.hero {
  background: radial-gradient(circle at top left, #2b2b2b, #1a1a1a);
  padding: 140px 0 100px;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  color: #ff9f43;
  margin-bottom: 15px;
}


.hero h1 span {
  font-size: 50px;
  font-weight: 900;
}

.word1 {
  color: #ff9f43; /* ذهبي */
}

.word2 {
  color: #fff; /* برتقالي */
}

.hero p {
  font-size: 18px;
  color: #fff;   font-weight: 500; /* تأكد أن الاسم نفسه سمك 900 */

}



/* ===== قسم الخدمات ===== */
.services {
  background: #252525;
  padding: 80px 0;
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #2d2d2d;
  border: 1px solid rgba(255, 159, 67, 0.2);
  border-radius: 15px;
  width: 300px;
  padding: 25px;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(255,159,67,0.3);
}

.card img {
  width: 80px;
  margin-bottom: 15px;
}

.card h3 {
  color: #ff9f43;
  margin-bottom: 10px;
}

/* ===== من نحن ===== */
.about {
  background: #1e1e1e;
  padding: 80px 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 28px;
  color: #ff9f43;
  margin-bottom: 15px;
}

.about-text p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255,159,67,0.2);
}

/* ===== الكروت ===== */
.stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.stat-card {
  background: #2d2d2d;
  border: 1px solid rgba(255, 159, 67, 0.3);
  border-radius: 15px;
  width: 220px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(255,159,67,0.3);
}

.stat-card i {
  font-size: 32px;
  color: #ff9f43;
  margin-bottom: 10px;
}

.stat-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 5px;
}

.stat-card p {
  color: #ccc;
  font-size: 15px;
}

/* ===== لماذا تختارنا ===== */
.why {
  background: #1e1e1e;
  padding: 80px 0;
  text-align: center;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature {
  background: #2d2d2d;
  padding: 25px;
  border-radius: 15px;
  width: 280px;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(255,159,67,0.3);
}

.feature i {
  color: #ff9f43;
  font-size: 36px;
  margin-bottom: 10px;
}

.feature h3 {
  color: #ff9f43;
  margin-bottom: 8px;
}

/* ===== المشاريع المكتملة ===== */
.portfolio {
  background: #252525;
  padding: 80px 0;
  text-align: center;
}

.work-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.work-item {
  width: 300px;
  background: #2b2b2b;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.work-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.work-item p {
  padding: 15px;
  color: #ff9f43;
}

/* ===== قسم الأسئلة الشائعة ===== */
.faq {
  background: #1f1f1f;
  padding: 80px 0;
}

.faq-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.faq-image img {
  width: 350px;
  border-radius: 15px;
  height: 100%;
  object-fit: cover;
}

.faq-items {
  width: 500px;
  max-width: 100%;
}

.faq-item {
  background: #2b2b2b;
  border: 1px solid rgba(255, 159, 67, 0.2);
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.faq-item:hover {
  background: #333;
}

.faq-item h4 {
  color: #ff9f43;
  font-size: 18px;
}

.faq-item p {
  font-size: 15px;
  color: #ddd;
  margin-top: 10px;
  display: none;
}

.faq-item.active p {
  display: block;
}

/* ===== الفوتر ===== */
footer {
  background: #151515;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-logo {
  color: #ff9f43;
  font-weight: bold;
  font-size: 22px;
}

.footer-desc {
  max-width: 1000px;
  color: #ff9f43;
  font-size: 20px;
}

.footer-contact a {
  color: #ddd;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: #ddd;
}

/* ===== تأثير الظهور ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== التوافق الكامل مع الموبايل ===== */
@media (max-width: 992px) {
  .container {
    width: 95%;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero h3 {
    font-size: 20px;
  }

  .hero p {
    font-size: 16px;
  }

  .cards,
  .features,
  .work-gallery,
  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .feature,
  .work-item,
  .stat-card {
    width: 90% !important;
    max-width: 350px;
  }

  .faq-content {
    flex-direction: column;
    text-align: center;
  }

  .faq-image img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 90%;
    margin-top: 20px;
  }

  .side-title {
    text-align: center;
    border-right: none;
    border-bottom: 3px solid #ff9f43;
    padding-right: 0;
    padding-bottom: 8px;
    display: inline-block;
  }

  footer .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 18px;
  }

  .social-icons {
    gap: 15px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .hero h3 {
    font-size: 18px;
  }

  .hero p {
    font-size: 15px;
  }

  .card img {
    width: 60px;
  }

  .stat-card {
    width: 80%;
  }

  .faq-items {
    width: 100%;
  }

  .faq-image img {
    max-width: 280px;
  }
}
