/* ========== إعدادات عامة ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}
body {
  background: #f8fafc;
  color: #1a1a1a;
  line-height: 1.7;
  direction: rtl;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul { list-style: none; }

/* ========== الألوان ========== */
:root {
  --primary: #1565C0;
  --secondary: #00BFA6;
  --dark: #0e2430;
  --light: #ffffff;
  --gray: #555;
  --bg: #f8fafc;
}

/* ========== الهيدر ========== */
header {
  background: var(--light);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
  padding: 18px 0;
}
.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links li a {
  color: var(--dark);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-links li a:hover {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.25);
}

/* أيقونة القائمة للهواتف */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}


/* ========== القسم الرئيسي (Hero) ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* يغطي كامل ارتفاع الشاشة */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('../images/1.jpg') center/cover no-repeat;
}

/* محتوى الهيرو */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

/* نصوص الهيرو */
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 15px;
}
.hero p {
  font-size: 30px;
  margin-bottom: 25px;
}
.hero .btn {
  background: #00BFA6;
  color: #0e2430;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s;
}
.hero .btn:hover {
  background: #00d1b8;
  transform: scale(1.05);
}



/* ========== العناوين ========== */
section h2 {
  text-align: center;
  font-size: 32px;
  color:var(--dark) ;
  position: relative;
  margin-bottom: 50px;
  font-weight: 700;
}
section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
}

/* ========== الأقسام العامة ========== */
section {
  padding: 90px 20px;
}
.container {
  width: 90%;
  margin: auto;
}
section p {
  text-align: center;
  color:#FFF ;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* ========== بطاقات الخدمات والباقات ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}
.card {
  background: var(--light);
  border-radius: 14px;
  padding: 35px 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  text-align: center;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 22px;
}
.card p {
  color: var(--gray);
}

/* ========== الباقات ========== */
.section-sub {
  color: var(--gray);
  text-align: center;
  margin-bottom: 25px;
}
.card-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0;
}
.price {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
}
.currency {
  font-size: 15px;
  color: var(--gray);
}
.features {
  text-align: right;
  padding-right: 0;
  color: var(--gray);
  margin: 15px 0 25px 0;
}
.features li {
  margin: 10px 0;
  padding-right: 15px;
  position: relative;
  font-size: 15px;
}
.features li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--secondary);
}
.card-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-primary {
  background: var(--primary);
  color: var(--light);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--light);
}
.btn-ghost {
  color: var(--gray);
}
.btn-ghost:hover {
  color: var(--primary);
}
.featured {
  border: 3px solid var(--secondary);
  background: linear-gradient(180deg, #f8ffff, #fff);
}

/* ========== الملاحظات ========== */
.notes {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  margin-top: 40px;
}
.notes h3 {
  margin-bottom: 12px;
  color: var(--primary);
  text-align: center;
}
.notes ul {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
}

/* ========== نموذج التواصل ========== */
form {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}
form button {
  background: var(--primary);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
form button:hover {
  background: var(--dark);
  transform: scale(1.05);
}

/* ========== الفوتر ========== */
footer {
  background: var(--dark);
  color: #fff;
  padding: 30px 0;
  text-align: center;
  font-size: 15px;
}

/* ========== الهواتف ========== */
@media(max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.active {
    max-height: 400px;
  }
  .nav-links li {
    margin: 15px 0;
  }
  .nav-links li a {
    color: #fff;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ========== الحركات ========== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}



.logo-img {
  height: 50px; /* يمكنك تعديل الحجم حسب شعارك */
  width: auto;
  transition: 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}


.footer {
  background: #0e2430;
  color: #ccc;
  padding: 60px 0 20px;
  text-align: right;
  direction: rtl;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  width: 90%;
  margin: auto;
}

.footer h3 {
  color: #00BFA6;
  margin-bottom: 20px;
  font-size: 20px;
}

.footer p {
  color: #bbb;
  line-height: 1.7;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #00BFA6;
}

.social-links a {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  color: #00BFA6;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #222;
  padding-top: 20px;
  color: #aaa;
  font-size: 14px;
}


/* قسم الأسئلة الشائعة */
.faq {
  background: #f8f9fa;
  padding: 80px 0;
  direction: rtl;
  text-align: right;
}

.faq h2 {
  text-align: center;
  font-size: 32px;
  color: #0e2430;
  margin-bottom: 40px;
  position: relative;
}

.faq h2::after {
  content: '';
  width: 80px;
  height: 3px;
  background: #00BFA6;
  display: block;
  margin: 10px auto 0;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
  color: #00BFA6;
  font-size: 20px;
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-item p {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
}


/* الشروط */
.terms {
  background: #fff;
  padding: 80px 0;
}

.terms .container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  text-align: right;
}

.terms h1 {
  text-align: center;
  color: #0e2430;
  font-size: 36px;
  margin-bottom: 20px;
}

.terms .intro {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 18px;
}

.term {
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.term:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.term h3 {
  color: #00BFA6;
  margin-bottom: 10px;
  font-size: 20px;
}

.term p {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
}


/* سياسة الخصوصية */
.privacy {
  background: #fff;
  padding: 80px 0;
}

.privacy .container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  text-align: right;
}

.privacy h1 {
  text-align: center;
  color: #0e2430;
  font-size: 36px;
  margin-bottom: 20px;
}

.privacy .intro {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 18px;
}

.policy {
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.policy:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.policy h3 {
  color: #00BFA6;
  margin-bottom: 10px;
  font-size: 20px;
}

.policy p {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
}


/* قسم من نحن */
.about {
  padding: 80px 0;
  background: #fff;
}

.about .container {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.about h1 {
  text-align: center;
  color: #0e2430;
  font-size: 36px;
  margin-bottom: 20px;
}

.about .intro {
  text-align: center;
  color: #555;
  font-size: 18px;
  margin-bottom: 50px;
  line-height: 1.8;
}

.mission, .values, .team {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.mission:hover, .values:hover, .team:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mission h2, .values h2, .team h2 {
  color: #00BFA6;
  margin-bottom: 10px;
  font-size: 22px;
}

.mission p, .values ul, .team p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

.values ul {
  list-style: none;
  padding: 0;
}

.values li {
  margin-bottom: 10px;
}

/* الحاوية */
.floating-lang-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

/* زر الكرة */
.lang-btn {
    width: 55px;
    height: 55px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.lang-btn:hover {
    background: #e05500;
    transform: scale(1.08);
}

/* القائمة */
.lang-options {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    width: 130px;
}

.lang-options a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-align: center;
    transition: 0.2s;
}

.lang-options a:hover {
    background: #f0f0f0;
}

/* زر واتساب عائم */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-float img {
    width: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}


/* الحاوية العامة للأزرار */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px; /* المسافة بين الزرين */
    align-items: center;
    z-index: 99999;
}

/* زر واتساب */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.whatsapp-btn img {
    width: 35px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

/* زر اللغة */
.lang-main-btn {
    width: 60px;
    height: 60px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.lang-main-btn:hover {
    background: #e05500;
}

/* القائمة */
.lang-options {
    display: none;
    position: absolute;
    bottom: 75px;
    right: 0;
    background: #fff;
    width: 130px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
}

.lang-options a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.lang-options a:hover {
    background: #f1f1f1;
}

/* شبكة معرض الأعمال */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* بطاقة المشروع */
.portfolio-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* صورة المشروع */
.portfolio-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* نصوص البطاقة */
.portfolio-card h3 {
    margin: 15px 0 5px;
    color: #333;
}

.portfolio-card p {
    padding: 0 15px 15px;
    color: #666;
}

/* تكبير الشعار دون تغيير ارتفاع الهيدر */
.logo-img {
    height: 120px;   /* كَبِّر الحجم كما تريد */
    width: auto;
}

/* الحفاظ على نفس ارتفاع الهيدر */
nav.container {
    padding: 10px 0 !important;  /* تقليل المساحة العلوية/السفلية */
    height: 80px;                /* تثبيت ارتفاع الهيدر */
    display: flex;
    align-items: center;
}
 .services {
    padding: 50px 20px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1d3557;
}

.service-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.service-card ul {
    list-style: disc;
    padding-left: 20px;
    color: #555;
}

.service-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.cta {
    text-align: center;
    margin-top: 20px;
}

.btn-primary {
    background-color: #1d3557;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #457b9d;
}
