/* Footer styling */
:root {
  --footer-bg: #F8F3CE; /* Light cream background */
  --footer-text: #0a1c54; /* Deep blue text */
  --footer-text-light: rgba(10, 28, 84, 0.7); /* Lighter text */
  --footer-accent: #192F65; /* Accent color */
  --footer-hover: #0a1c54; /* Hover color */
}

.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
  }
  
/* Add subtle pattern overlay */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(10, 28, 84, 0.02) 35px,
      rgba(10, 28, 84, 0.02) 70px
    );
  pointer-events: none;
}
  
  .footer-heading {
    color: var(--footer-accent);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  /* Modern underline for headings */
  .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--footer-accent);
    border-radius: 2px;
  }
  
  html[lang="ar"] .footer-heading::after {
    left: auto;
    right: 0;
  }
  
  .footer-link {
    color: var(--footer-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-weight: 500;
    padding: 0.25rem 0;
  }
  
  .footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--footer-hover);
    transition: width 0.3s ease;
  }
  
  .footer-link:hover {
    color: var(--footer-hover);
    transform: translateX(5px);
  }
  
  .footer-link:hover::before {
    width: 100%;
  }
  
  html[lang="ar"] .footer-link:hover {
    transform: translateX(-5px);
  }
  
  .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid var(--footer-text-light);
    border-radius: 50%;
    color: var(--footer-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
  }
  
  .social-link:hover {
    background-color: var(--footer-accent);
    color: var(--footer-bg);
    border-color: var(--footer-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 28, 84, 0.2);
  }
  
  .footer-divider {
    border-color: rgba(10, 28, 84, 0.1);
    margin: 2rem 0;
    position: relative;
  }
  
  /* Modern gradient divider */
  .footer-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      var(--footer-accent),
      transparent
    );
  }
  
  .copyright-text {
    color: var(--footer-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
  }
  
  .map-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(10, 28, 84, 0.15);
    border: 2px solid rgba(10, 28, 84, 0.1);
    transition: all 0.3s ease;
  }
  
  .map-container:hover {
    box-shadow: 0 12px 35px rgba(10, 28, 84, 0.2);
  }
  
  .contact-info {
    font-size: 0.9rem;
    color: var(--footer-text);
  }
  
  .contact-info i {
    color: var(--footer-accent);
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }
  
  html[lang="ar"] .contact-info i {
    margin-right: 0;
    margin-left: 0.5rem;
  }
  
  /* Add hover effect for contact items */
  .contact-info a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-info a:hover {
    color: var(--footer-hover);
  }
  
  /* RTL adjustments - Enhanced */
  html[lang="ar"] .me-2,
  html[dir="rtl"] .me-2,
  .rtl-layout .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
  }
  
  html[lang="ar"] .bi-chevron-right::before,
  html[dir="rtl"] .bi-chevron-right::before,
  .rtl-layout .bi-chevron-right::before {
    content: "\f284"; /* Bootstrap icon code for chevron-left */
  }
  
  /* RTL footer layout */
  html[lang="ar"] .footer,
  html[dir="rtl"] .footer,
  .rtl-layout .footer {
    text-align: right;
  }
  
  html[lang="ar"] .footer .social-links,
  html[dir="rtl"] .footer .social-links,
  .rtl-layout .footer .social-links {
    justify-content: flex-start;
  }
  
  /* Add modern animation on load */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .footer-content {
    animation: fadeInUp 0.6s ease-out;
  }
  
  /* Responsive improvements */
  @media (max-width: 768px) {
    .footer-heading {
      font-size: 1.1rem;
    }
    
    .social-link {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }
  }