/* أنماط أساسية */
:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* التنقل */
  .main-nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
  }
  
  .logo span {
    color: var(--secondary);
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
  }
  
  .nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary);
  }
  
  .nav-links a.active {
    color: var(--primary);
    font-weight: 700;
  }
  
  .cta-nav {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
  }
  
  .cta-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
  }



  /*قسم المكاتب*/

  /* أنماط القوائم المنسدلة */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-toggle i {
  font-size: 1.1rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 8px;
  overflow: hidden;
  right: 0;
  text-align: right;
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s;
}

.dropdown-menu a {
  color: #333;
  padding: 12px 16px;
  display: block;
  transition: all 0.3s;
  border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: var(--primary);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
  




  /* الهيدر */
  .hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 100px 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero h1 span {
    display: block;
    font-weight: 300;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  /* الأزرار */
  .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
  }
  
  .cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .cta-button.secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  
  .cta-button.secondary:hover {
    background-color: var(--primary);
    color: white;
  }




  
  
  /* الأقسام */
  .section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2rem;
    color: var(--primary);
  }
  
  .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto;
    border-radius: 2px;
  }
  
  /* بطاقات الخدمات */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
  }




/* قسم لماذا نحن */
.why-us {
  background-color: #f2f8ff; /* خلفية زرقاء فاتحة */
  padding: 60px 20px;
  text-align: center;
}

.why-us .section-title {
  font-size: 2.2em;
  color: #003366;
  margin-bottom: 40px;
  font-weight: bold;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 51, 102, 0.15);
}

.feature i {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}




  
  /* الفوتر */
  .main-footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--light);
  }
  
  .footer-col ul {
    list-style: none;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
  }
  
  .footer-col ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-col ul li a:hover {
    color: white;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  
  .social-links a:hover {
    color: var(--secondary);
  }
  
  .copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
  }
  
  /* صفحة الخدمات */
  .service-header {
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));

  }
/*   
  .service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }
   */
  
  .service-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
  }
  
  .service-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
  }
  
  .service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .service-types{
    margin: 30px;
  }
  
  .service-features ul {
    list-style: none;
    margin-top: 20px;
  }
  
  .service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
  }
  
  .service-features i {
    color: var(--secondary);
    position: absolute;
    right: 0;
    top: 5px;
  }
  
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .pricing-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s;
  }
  
  .pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .pricing-card.popular {
    border: 2px solid var(--secondary);
  }
  
  .popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
  }
  
  .pricing-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .pricing-header h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
  }
  
  .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
  }
  
  .features {
    list-style: none;
    margin-bottom: 30px;
  }
  
  .features li {
    margin-bottom: 10px;
    padding-right: 20px;
    position: relative;
  }
  
  .features li::before {
    content: '✓';
    color: var(--secondary);
    position: absolute;
    right: 0;
  }
  








/*workspace>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.*/


/* هيدر الصفحة */
.service-header.workspace-header {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
              url('/pro/img/workspace2.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-header.workspace-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.service-header.workspace-header p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}




/* معرض الصور */
.gallery-section {
  padding: 80px 0;
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(67, 97, 238, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* نموذج الحجز */
.booking-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.booking-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.booking-form h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.3s ease;
  font-family: 'Tajawal', sans-serif;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}


textarea.form-control {
  min-height: 120px;
  resize: vertical;
}






















/*صفحة البورتفوليو..........................................*/

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
  }
  
  .portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
  }
  
  .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  
  .portfolio-item:hover img {
    transform: scale(1.1);
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 97, 238, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .portfolio-item:hover .overlay {
    opacity: 1;
  }
  
  .overlay h3 {
    color: white;
    font-size: 1.5rem;
  }


  /* أنماط قسم الأسئلة الشائعة */

/*تبويبات*/
  .tabs-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .tab-button {
    padding: 10px 20px;
    border: none;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
  }

  .tab-button.active {
    background-color: #007bff;
    color: white;
  }

  .tab-content {
    display: none;
  }

  .tab-content.active {
    display: block;
  }



.faq-section {
    padding: 60px 0;
    background-color: #f9f9f9;
  }
  
  .faq-accordion {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
  }
  
  .faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
  }
  
  .faq-question:hover {
    background-color: #f0f0f0;
  }
  
  .faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
  }
  
  .faq-question.active::after {
    content: '-';
  }
  
  .faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: white;
  }
  
  .faq-answer p, .faq-answer ul, .faq-answer ol {
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
    border-top: 1px solid #eee;
  }
  
  .faq-item.active .faq-question {
    background-color: #f0f0f0;
  }

/* تحسينات إضافية */
.faq-question:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.faq-answer {
  will-change: max-height; /* لتحسين الأداء */
}



  .contact-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    margin-top: 60px;
  }
  
  .contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }







  
  /* التجاوب */
  
  @media (max-width: 992px) {
    .service-content {
      grid-template-columns: 1fr;
    }
    
    .service-image {
      order: -1;
    }
  }
  
  @media (max-width: 768px) {
    .main-nav .container {
      flex-direction: column;
    }
    
    .nav-links {
      margin-top: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .hero h1 {
      font-size: 2rem;
    }
    
    .hero-buttons {
      flex-direction: column;
      gap: 15px;
    }
    
    .cta-button {
      display: block;
      width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .section-title {
      font-size: 1.5rem;
    }
    
    .service-header h1 {
      font-size: 2rem;
    }
    
    .pricing-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .why-us {
      padding: 60px 0;
    }
    
    .why-us .features-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    
    .why-us .feature {
      padding: 25px 15px;
    }
  }
  
  