.footer {
    background-color: var(--text-title);
    color: var(--white-color);
    padding: 4rem 0 0;
  }

  /* Company Info Section */
  .company-info {
    padding-right: 1.5rem;
  }

  .footer-logo {
    height: 5rem;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
  }

  .company-description {
    color: var(--light-gray-2);
    line-height: 1.625;
    margin-bottom: 1.5rem;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
  }

  .contact-item {
    display: flex;
    align-items: center;
    color: var(--light-gray-2);
  }

  .contact-item i {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    color: var(--primary-color);
    text-align: center;
  }

   .contact-item span {
   direction: ltr !important;
   color: var(--dark-white);
  }

  /* Footer Section Headers with Toggle */
  .footer-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
  }

  .footer-section-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
  }

  .toggleButton {
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.3s ease;
    display: none;
  }

  .toggleButton:hover {
    color: var(--primary-color);
  }

  /* Footer Links */
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
  }

  .footer-links a {
    color: var(--light-gray-2);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 0.25rem 0;
    color: var(--dark-white);
  }
  .footer-links a:hover {
    color: var(--primary-color);
  }

  /* Mobile Responsive Behavior */
  @media (max-width: 991px) {
    .toggleButton {
        display: block;
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;
    }

    .footer-links.show {
        max-height: 300px;
        opacity: 1;
        margin-top: 1rem;
    }

    .fa-minus {
        display: none;
    }
  }

  /* Desktop - Always show links */
  @media (min-width: 992px) {
    .footer-links {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    .footer-section-header {
        cursor: default;
        border-bottom: none;
    }
  }

  /* Social Media & Language Section */
  .footer-divider {
    border-top: 1px solid var(--text-description);
    padding-top: 2rem;
  }

  .social-language-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  @media (min-width: 768px) {
    .social-language-section {
        flex-direction: row;
        gap: 0;
    }
  }

  .social-label {
    color: var(--light-gray-2);
  }

  .social-links {
    display: flex;
    gap: 1rem;
  }

  .social-links a {
    color: var(--light-gray-2);
    transition: color 0.2s ease;
  }

  .social-links a:hover {
    color: var(--primary-color);
  }

  .social-links i {
    font-size: 1.25rem;
  }

  .footer-language-toggle {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-language-btn {
    color: var(--light-gray-2);
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;

  }
  .footer-language-btn span {
    color: var(--dark-white);
  }
.footer-language-btn:focus,
.footer-language-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

  .footer-language-btn:hover {
    color: var(--primary-color);
  }

  /* Copyright Section */
  .copyright-section {
    border-top: 1px solid var(--text-description);
    padding-top: 2rem;
  }
.copyright-section p {
    color: #9ca3af;
}
  .legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .legal-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .legal-links a:hover {
    color: var(--primary-color);
  }
footer p,
footer a,
footer span {
    font-size: 1.1rem !important;
}
.arabic-version footer p,
.arabic-version footer a,
.arabic-version footer span {
    font-size: .95rem !important;
}
