/* Components */

/* Component Styles for ERP Company Website */

/* Navigation Bar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
}

/* Dark Theme Navigation */
[data-theme="dark"] .navbar-custom {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .navbar-custom.scrolled {
  background: rgba(15, 23, 42, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Logo Image Styles */
.logo-image {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.logo-image img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Logo Container Improvements */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-base);
}

.logo-container:hover {
    transform: scale(1.05);
}

/* Navbar Brand Enhancements */
.navbar-brand {
    padding: 0.5rem 0;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    text-decoration: none !important;
    transform: scale(1.05);
}

/* Logo Icon - for when no custom logo is set */
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.logo-icon:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Logo Text */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0;
    font-weight: 500;
}

/* Dark Theme Logo Colors */
[data-theme="dark"] .logo-title {
  color: var(--primary-color);
}

[data-theme="dark"] .logo-subtitle {
  color: var(--gray-500);
}

/* Footer Logo */
.footer-logo .logo-container {
    margin-bottom: 1rem;
}

.footer-logo .logo-title {
    color: white;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--gray-900);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  color: var(--gray-900);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotateY(360deg);
}

.service-title {
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* About Features - إصلاح مشكلة النصوص */
.about-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-content h4 {
  color: var(--gray-900);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* Pricing Cards */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  color: var(--gray-900);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.popular-badge {
  background: var(--primary-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-header {
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.currency {
  font-size: 1rem;
  color: var(--gray-600);
}

.amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
}

.period {
  font-size: 1rem;
  color: var(--gray-600);
}

.pricing-features {
  margin-bottom: 2rem;
  text-align: right;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--gray-700);
}

.feature-item i {
  color: var(--success-color);
  font-size: 1rem;
}

.btn-pricing {
  width: 100%;
  background: var(--primary-gradient);
  color: white !important;
  border: none;
  padding: 1rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-pricing:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: white !important;
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 1rem;
}

.team-social a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-social a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.team-content {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.team-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Contact Form - إصلاح شامل للألوان */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  color: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.contact-form {
  position: relative;
  z-index: 2;
}

/* Form Groups */
.contact-form-wrapper .form-group {
  margin-bottom: 1.5rem;
}

/* Form Labels */
.contact-form-wrapper .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

/* Form Controls */
.contact-form-wrapper .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: inherit;
}

.contact-form-wrapper .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: var(--white);
}

.contact-form-wrapper .form-control::placeholder {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Textarea specific styling */
.contact-form-wrapper textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Form validation styles */
.contact-form-wrapper .form-control.is-invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.contact-form-wrapper .form-control.is-valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-form-wrapper .text-danger {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.contact-form-wrapper .text-success {
  color: var(--success-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* Submit button styling */
.contact-form-wrapper .btn {
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper .btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-form-wrapper .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  color: white;
}

.contact-form-wrapper .btn-primary:active {
  transform: translateY(0);
}

.contact-form-wrapper .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Contact Info Styling */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-item:hover::before {
  transform: scaleY(1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.contact-content {
  flex: 1;
}

.contact-content h4 {
  color: var(--gray-900);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.contact-content p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Alert Messages */
.contact-form-wrapper .alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.contact-form-wrapper .alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border-left: 4px solid var(--success-color);
}

.contact-form-wrapper .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  border-left: 4px solid var(--error-color);
}

.contact-form-wrapper .alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info-color);
  border-left: 4px solid var(--info-color);
}

/* Loading State */
.contact-form-wrapper .btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.contact-form-wrapper .btn.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Input Groups */
.contact-form-wrapper .input-group {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-form-wrapper .input-group .form-control {
  border-radius: 0;
  border-right: none;
}

.contact-form-wrapper .input-group .form-control:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  border-right: 2px solid var(--gray-200);
}

.contact-form-wrapper .input-group .btn {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 0 1.5rem;
}

/* Dark Theme Overrides */
[data-theme="dark"] .contact-form-wrapper {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(51, 65, 85, 0.6);
  color: var(--gray-100);
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .contact-form-wrapper .form-label {
  color: var(--gray-100);
}

[data-theme="dark"] .contact-form-wrapper .form-control {
  background: rgba(51, 65, 85, 0.8);
  border-color: rgba(71, 85, 105, 0.8);
  color: var(--gray-100);
}

[data-theme="dark"] .contact-form-wrapper .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
  background: rgba(51, 65, 85, 0.9);
}

[data-theme="dark"] .contact-form-wrapper .form-control::placeholder {
  color: var(--gray-400);
}

[data-theme="dark"] .contact-item {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.6);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .contact-content h4 {
  color: var(--gray-100);
}

[data-theme="dark"] .contact-content p {
  color: var(--gray-300);
}

[data-theme="dark"] .contact-form-wrapper .text-danger {
  color: #fca5a5;
}

[data-theme="dark"] .contact-form-wrapper .text-success {
  color: #86efac;
}

[data-theme="dark"] .contact-form-wrapper .alert-success {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-left-color: #34d399;
}

[data-theme="dark"] .contact-form-wrapper .alert-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-left-color: #fca5a5;
}

[data-theme="dark"] .contact-form-wrapper .alert-info {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border-left-color: #93c5fd;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 0 auto;
  }
  
  .contact-content h4 {
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  
  .contact-content p {
    font-size: 0.875rem;
  }
  
  .contact-form-wrapper .btn {
    width: 100%;
    padding: 1rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .contact-form-wrapper .form-control {
    padding: 1rem;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .contact-item:hover {
    transform: none;
  }
  
  .contact-item:hover::before {
    transform: scaleY(1);
  }
  
  .contact-form-wrapper .btn:hover {
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .contact-form-wrapper {
    border-width: 2px;
  }
  
  .contact-form-wrapper .form-control {
    border-width: 3px;
  }
  
  [data-theme="dark"] .contact-form-wrapper {
    border-color: var(--primary-light);
  }
  
  [data-theme="dark"] .contact-form-wrapper .form-control {
    border-color: var(--primary-light);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .contact-form-wrapper .form-control,
  .contact-item,
  .contact-form-wrapper .btn,
  .contact-icon {
    transition: none;
  }
  
  .contact-item:hover {
    transform: none;
  }
  
  .contact-form-wrapper .btn:hover {
    transform: none;
  }
  
  .contact-item:hover .contact-icon {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .contact-form-wrapper,
  .contact-item {
    background: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
  
  .contact-icon {
    background: #333 !important;
  }
  
  .contact-form-wrapper .btn {
    background: #333 !important;
    color: white !important;
  }
}

/* Focus Visible for Keyboard Users */
.contact-form-wrapper .form-control:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

[data-theme="dark"] .contact-form-wrapper .form-control:focus-visible {
  outline-color: var(--primary-light);
}

.contact-form-wrapper .btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Selection Colors */
.contact-form-wrapper ::selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--gray-900);
}

[data-theme="dark"] .contact-form-wrapper ::selection {
  background: rgba(96, 165, 250, 0.3);
  color: var(--gray-100);
}

/* File Input Styling */
.contact-form-wrapper input[type="file"] {
  padding: 0.5rem;
  background: transparent;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
}

.contact-form-wrapper input[type="file"]::-webkit-file-upload-button {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

[data-theme="dark"] .contact-form-wrapper input[type="file"] {
  border-color: rgba(71, 85, 105, 0.8);
}

[data-theme="dark"] .contact-form-wrapper input[type="file"]::-webkit-file-upload-button {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

/* Checkbox and Radio Styling */
.contact-form-wrapper input[type="checkbox"],
.contact-form-wrapper input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary-color);
  margin-left: 0.5rem;
}

.contact-form-wrapper .form-check-label {
  color: var(--gray-700);
  font-size: 0.95rem;
  cursor: pointer;
}

[data-theme="dark"] .contact-form-wrapper .form-check-label {
  color: var(--gray-300);
}

/* Required Field Indicator */
.contact-form-wrapper .form-label.required::after {
  content: ' *';
  color: var(--error-color);
  font-weight: bold;
}

/* Form Grid Layout */
.contact-form-wrapper .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .contact-form-wrapper .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== تحديث تصميم شارة القسم (section-badge) حسب النموذج المطلوب ===== */
.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .95rem 2.3rem;
  border-radius: 60px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(99,102,241,.25);
  box-shadow: 0 4px 18px -6px rgba(99,102,241,.25), 0 2px 4px -2px rgba(0,0,0,.08);
  font-weight: 800;
  font-size: 1.15rem;
  color: #3730a3; /* نص أزرق داكن قريب من النموذج */
  backdrop-filter: blur(12px) saturate(150%);
  position: relative;
  line-height: 1;
  flex-direction: row-reverse; /* لعرض النص ثم الأيقونة في RTL */
}
html[dir="ltr"] .section-header .section-badge { flex-direction: row; }
.section-header .section-badge span { display: inline-block; letter-spacing: .5px; }
.section-header .section-badge i {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#fcd34d,#fbbf24);
  color: #1e293b;
  font-size: .9rem;
  box-shadow: 0 4px 12px -4px rgba(251,191,36,.6);
  position: relative;
}

/* حل تأثير hover غير الضروري */
.section-header .section-badge:hover { box-shadow: 0 6px 22px -6px rgba(99,102,241,.35); }

/* خط تحت العنوان بتباعد أكبر */
.section-header .section-title { margin-top: 1.7rem; }
.section-header .section-title::after { bottom: -14px; height: 8px; width: 230px; }

/* وصف أخف لونًا */
.section-header .section-description { margin-top: 2.2rem; font-size: 1.15rem; font-weight:600; color:#475569; }
[data-theme="dark"] .section-header .section-description { color:#cbd5e1; }

/* تباينات وضع داكن */
[data-theme="dark"] .section-header .section-badge { background: rgba(51,65,85,.55); border-color: rgba(99,102,241,.35); color:#c7d2fe; }
[data-theme="dark"] .section-header .section-badge i { color:#1e293b; }

/* تحسين تدرج الخلفية العام خلف أقسام فاتحة */
.section-padding { position: relative; }
.section-padding::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 70% 15%,rgba(99,102,241,.08),transparent 60%), radial-gradient(circle at 20% 85%,rgba(124,58,237,.07),transparent 65%); pointer-events:none; z-index:0; }
.section-padding > .container, .section-header { position: relative; z-index:1; }

/* حجم أصغر على الشاشات الصغيرة */
@media (max-width: 640px) {
  .section-header .section-badge { padding: .7rem 1.5rem; font-size:.95rem; gap:.6rem; }
  .section-header .section-badge i { width:26px; height:26px; font-size:.75rem; }
  .section-header .section-title { font-size:1.6rem; }
  .section-header .section-title::after { width:170px; height:6px; }
  .section-header .section-description { font-size:1rem; }
}

/* تخطيط أفقي للعملاء في صف واحد */
.clients-row { display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 1.25rem; padding-bottom: .5rem; scrollbar-width: thin; scrollbar-color: var(--primary-color) transparent; }
.clients-row .client-card { min-width: 250px; flex: 0 0 auto; }
.clients-row::-webkit-scrollbar { height: 8px; }
.clients-row::-webkit-scrollbar-track { background: transparent; }
.clients-row::-webkit-scrollbar-thumb { background: linear-gradient(90deg,var(--primary-color),var(--primary-light)); border-radius: 4px; }
[data-theme="dark"] .clients-row::-webkit-scrollbar-thumb { background: linear-gradient(90deg,#60a5fa,#3b82f6); }

/* تحسين تصميم feature-item في البطاقات */
.pricing-card .feature-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.75rem 0 !important;
  color: var(--gray-700) !important;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5) !important;
  margin-bottom: 0 !important;
}

.pricing-card .feature-item:last-child {
  border-bottom: none !important;
}

/* إصلاح مشكلة ظهور الأيقونات في pricing */
.pricing-card .feature-icon {
  width: 24px !important;
  height: 24px !important;
  background: var(--success-color) !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
  min-width: 24px !important; /* للتأكد من الحد الأدنى للعرض */
}

/* إصلاح مشكلة الأيقونات المخصصة */
.pricing-card .feature-icon i {
  font-size: 0.75rem !important;
  color: white !important;
  line-height: 1 !important;
}

/* إضافة تباعد أفضل للأيقونات المخصصة */
.pricing-card .feature-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.75rem 0 !important;
  color: var(--gray-700) !important;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5) !important;
  margin-bottom: 0 !important;
}

/* إذا كانت الأيقونة غير موجودة، اعرض علامة صح */
.pricing-card .feature-icon:empty::before {
  content: '\f00c' !important; /* FontAwesome check icon */
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  font-size: 0.75rem !important;
  color: white !important;
}

/* إصلاح خاص للأيقونات المختلفة */
.pricing-card .feature-icon .fa,
.pricing-card .feature-icon .fas,
.pricing-card .feature-icon .far,
.pricing-card .feature-icon .fab {
  font-size: 0.75rem !important;
  color: white !important;
  display: inline-block !important;
}

/* تحسين وضع داكن للأيقونات */
[data-theme="dark"] .pricing-card .feature-icon {
  background: var(--success-color) !important;
  color: white !important;
}

[data-theme="dark"] .pricing-card .feature-icon i {
  color: white !important;
}

/* Debug: إظهار border للتأكد من وجود العنصر */
.pricing-card .feature-icon {
  border: 1px solid rgba(0,0,0,0.1) !important;
}

[data-theme="dark"] .pricing-card .feature-icon {
  border: 1px solid rgba(255,255,255,0.2) !important;
}

/* إصلاح أي تعارض مع تصميم feature-icon في أماكن أخرى */
.pricing-section .feature-icon {
  width: 24px !important;
  height: 24px !important;
  background: #28a745 !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
}

.pricing-section .feature-icon i {
  font-size: 0.75rem !important;
  color: white !important;
}

/* === Redesigned Footer Contact Info === */
.footer-contact-info.redesigned { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:1rem; }
.footer-contact-info.redesigned li { display:flex; align-items:flex-start; gap:.9rem; padding:.85rem 1rem; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:14px; position:relative; transition:.35s; }
.footer-contact-info.redesigned li:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.18); transform:translateY(-4px); box-shadow:0 10px 24px -10px rgba(0,0,0,.35); }
.footer-contact-info.redesigned .icon-circle { width:44px; height:44px; border-radius:12px; background:linear-gradient(135deg,#3b82f6,#1d4ed8); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.1rem; flex-shrink:0; box-shadow:0 6px 16px -6px rgba(59,130,246,.45); }
.footer-contact-info.redesigned .icon-circle.whatsapp { background:linear-gradient(135deg,#25D366,#128C7E); box-shadow:0 6px 16px -6px rgba(37,211,102,.45); }
.footer-contact-info.redesigned .info-text { display:flex; flex-direction:column; line-height:1.3; }
.footer-contact-info.redesigned .info-text .label { font-size:.8rem; letter-spacing:.5px; font-weight:600; color:rgba(255,255,255,.7); margin-bottom:.15rem; }
.footer-contact-info.redesigned .info-text .content { font-size:.95rem; font-weight:600; color:#fff; word-break:break-word; }
.footer-contact-info.redesigned .info-text .content a { color:#fbbf24; text-decoration:none; transition:.3s; }
.footer-contact-info.redesigned .info-text .content a:hover { color:#fde68a; text-decoration:underline; }
@media (max-width: 575px){ .footer-contact-info.redesigned li { padding:.75rem .85rem; } .footer-contact-info.redesigned .icon-circle { width:40px;height:40px;font-size:1rem; } }

/* Dark mode refinement */
[data-theme="dark"] .footer-contact-info.redesigned li { background:rgba(51,65,85,.5); border-color:rgba(71,85,105,.45); }
[data-theme="dark"] .footer-contact-info.redesigned li:hover { background:rgba(51,65,85,.65); border-color:rgba(96,165,250,.55); box-shadow:0 14px 34px -14px rgba(96,165,250,.35); }
[data-theme="dark"] .footer-contact-info.redesigned .info-text .label { color:#94a3b8; }
[data-theme="dark"] .footer-contact-info.redesigned .info-text .content { color:#f1f5f9; }

/* === Footer Nav Horizontal Layout === */
.footer-nav { list-style:none; margin:0; padding:0; display:flex; gap:1.5rem; flex-wrap:wrap; align-items:center; }
.footer-nav li { position:relative; }
.footer-nav li a { color:rgba(255,255,255,.8); font-weight:500; text-decoration:none; padding:.35rem .15rem; display:inline-block; transition:.3s; position:relative; }
.footer-nav li a:after { content:""; position:absolute; bottom:-4px; right:0; height:2px; width:0; background:linear-gradient(90deg,#3b82f6,#1d4ed8); transition:.35s; border-radius:2px; }
.footer-nav li a:hover { color:#fff; }
.footer-nav li a:hover:after { width:100%; }
[data-theme="dark"] .footer-nav li a { color:#94a3b8; }
[data-theme="dark"] .footer-nav li a:hover { color:#fff; }
[data-theme="dark"] .footer-nav li a:after { background:linear-gradient(90deg,#60a5fa,#3b82f6); }

@media (max-width: 768px){ .footer-bottom .row { row-gap:1rem; } .footer-nav { justify-content:center !important; } }

/* === Floating Action Buttons (Back to Top + WhatsApp) === */
.fab-wrapper { position:fixed; bottom:28px; left:28px; display:flex; flex-direction:column; gap:14px; z-index:1300; }
html[dir="rtl"] .fab-wrapper { right:28px; left:auto; }
.fab-btn { width:58px; height:58px; border-radius:22px; border:none; outline:none; display:flex; align-items:center; justify-content:center; font-size:1.55rem; cursor:pointer; position:relative; background:linear-gradient(135deg,#3b82f6,#1d4ed8); color:#fff; box-shadow:0 10px 28px -10px rgba(59,130,246,.55),0 4px 12px -4px rgba(0,0,0,.4); transition:.4s cubic-bezier(.4,0,.2,1); overflow:hidden; }
.fab-btn:before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.35),transparent 70%); opacity:.35; mix-blend-mode:overlay; transition:.5s; }
.fab-btn:hover { transform:translateY(-6px) rotate(-3deg); box-shadow:0 18px 46px -10px rgba(59,130,246,.6),0 6px 18px -6px rgba(0,0,0,.55); }
.fab-btn:active { transform:translateY(-2px); }
.fab-btn i { line-height:1; }
.fab-top { background:linear-gradient(135deg,#6366f1,#4338ca); }
.fab-whatsapp { background:linear-gradient(135deg,#25d366,#128c7e); }
.fab-whatsapp:hover { box-shadow:0 18px 46px -10px rgba(37,211,102,.55),0 6px 18px -6px rgba(0,0,0,.55); }
[data-theme="dark"] .fab-btn { box-shadow:0 10px 32px -10px rgba(96,165,250,.55),0 4px 14px -6px rgba(0,0,0,.65); }
[data-theme="dark"] .fab-top { background:linear-gradient(135deg,#818cf8,#4f46e5); }
[data-theme="dark"] .fab-btn:hover:before { opacity:.55; }
@media (max-width:640px){ .fab-btn{ width:52px;height:52px;font-size:1.35rem;border-radius:18px;} .fab-wrapper{ bottom:20px; right:20px; left:20px; } }

/* BackToTop hidden state (JS can toggle) */
.fab-top { opacity:0; pointer-events:none; transform:translateY(20px); }
.fab-top.visible { opacity:1; pointer-events:auto; transform:translateY(0); }

/* === Redesigned Social Icons Strip === */
.social-icons { display:flex; flex-wrap:wrap; gap:.75rem; }
.social-icons .social-icon { --icon-size:48px; width:var(--icon-size); height:var(--icon-size); border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:1.05rem; position:relative; color:#fff; background:linear-gradient(135deg,#3b82f6,#1d4ed8); text-decoration:none; overflow:hidden; box-shadow:0 8px 20px -8px rgba(59,130,246,.45); transition:.45s; }
.social-icons .social-icon:before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.35),transparent 70%); opacity:.4; mix-blend-mode:overlay; transition:.45s; }
.social-icons .social-icon:hover { transform:translateY(-6px) rotate(-4deg); box-shadow:0 16px 40px -12px rgba(59,130,246,.55),0 6px 20px -6px rgba(0,0,0,.5); }
.social-icons .social-icon:hover:before { opacity:.65; }
/* Specific Brand Colors */
.social-icons .social-icon[aria-label*="فيس"],
.social-icons .social-icon[aria-label*="face" i]{ background:linear-gradient(135deg,#1877f2,#1d4ed8); }
.social-icons .social-icon[aria-label*="توي"],
.social-icons .social-icon[aria-label*="twit" i]{ background:linear-gradient(135deg,#1DA1F2,#0d8ddc); }
.social-icons .social-icon[aria-label*="لينك"],
.social-icons .social-icon[aria-label*="link" i]{ background:linear-gradient(135deg,#0a66c2,#004182); }
.social-icons .social-icon[aria-label*="انست"],
.social-icons .social-icon[aria-label*="insta" i]{ background:radial-gradient(circle at 30% 30%,#feda75,#fa7e1e 35%,#d62976 55%,#962fbf 75%,#4f5bd5); }
.social-icons .social-icon[aria-label*="يوت"],
.social-icons .social-icon[aria-label*="you" i]{ background:linear-gradient(135deg,#ff0000,#c40000); }
[data-theme="dark"] .social-icons .social-icon { box-shadow:0 10px 30px -10px rgba(96,165,250,.5),0 4px 14px -6px rgba(0,0,0,.6); }
[data-theme="dark"] .social-icons .social-icon:hover { box-shadow:0 18px 46px -14px rgba(96,165,250,.55),0 8px 24px -8px rgba(0,0,0,.65); }
@media (max-width:480px){ .social-icons .social-icon{ --icon-size:44px; border-radius:14px; } }

/* Minimal JS helper comment: toggle .visible on .fab-top when scrollY > 250 */
