.col-lg-3.col-md-6.col-sm-6.col-12.footer-links {
    max-width: 20%;
}


.custom-footer {
  background-color: #f8f8f8;
  padding: 60px 0 30px;
  color: var(--font-color);
  font-size: 14px;
}

.custom-footer .newsletter-section {
  text-align: center;
  margin-bottom: 50px;
}

.custom-footer .newsletter-section h2 {
  font-size: 30px;
	line-height:36px;
  font-weight: normal;
  margin-bottom: 10px;
  color: var(--font-color);
}

.custom-footer .newsletter-section p {
  font-size: 14px;
  color: var(--font-color);
  margin-bottom: 30px;
}

.custom-footer .newsletter-input-group {
  max-width: 350px;
  margin: 0 auto;
  position: relative;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.custom-footer .newsletter-input-group input {
  border: none;
  background: transparent;
  width: calc(100% - 30px);
  padding: 5px 0;
  font-size: 14px;
  color: #333;
  outline: none;
}

.custom-footer .newsletter-input-group input::placeholder {
  color: var(--font-color);
}

.custom-footer .newsletter-input-group .arrow-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;

  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
}

.custom-footer .privacy-link {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: var(--font-color);
  text-decoration: none;
	margin:0 auto;
}
.custom-footer .privacy-link:hover {
  color: var(--font-color);
}

.custom-footer .footer-links h6 {
  font-size: 15px;
 
  margin-bottom: 20px;
  color: var(--font-color);
}

.custom-footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-footer .footer-links ul li {
  margin-bottom: 10px;
}

.custom-footer .footer-links ul li a {
  color: var(--font-color);
  text-decoration: none;
  transition: color 0.3s ease;
	font-family:'PostGrotesk-medium';
}

.custom-footer .footer-links ul li a:hover {
  color: var(--font-color);
}

.custom-footer .divider {
  border-top: 1px solid #eee;
  margin: 25px 0;
}

.custom-footer .bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20px;
}

.custom-footer .bottom-bar .copyright {
  color: var(--font-color);
 
}

.custom-footer .bottom-bar .logo-centered {
  flex-grow: 1;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.custom-footer .bottom-bar .logo-centered img {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.7;
}

.custom-footer .bottom-bar .language-sitemap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.custom-footer .bottom-bar .language-sitemap .flag {
  width: 20px;
  height: 15px;
  background-size: cover;
  border: 1px solid rgba(0,0,0,.125);
}

.custom-footer .bottom-bar .language-sitemap span {
  color: var(--font-color);
  font-size: 13px;
}

.custom-footer .bottom-bar .language-sitemap a {
  color: var(--font-color);
  text-decoration: none;
  font-size: 13px;
}
.custom-footer .bottom-bar .language-sitemap a:hover {
  color: var(--font-color);
}

.custom-footer .scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--font-color);
  font-size: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-footer .scroll-to-top:hover {
  background-color: #eee;
  color: var(--font-color);
}

@media (min-width: 992px) {
  .custom-footer .newsletter-section {
    display: block;
  }
  .custom-footer .footer-links-accordion {
    display: none;
  }
  .custom-footer .bottom-bar .copyright {
    order: 0;
  }
  .custom-footer .bottom-bar .logo-centered {
    order: 0;
  }
  .custom-footer .bottom-bar .language-sitemap {
    order: 0;
  }
}

@media (max-width: 991.98px) {
  .custom-footer {
    padding: 40px 0 20px;
  }
  .custom-footer .footer-links-grid {
    display: none;
  }
  .custom-footer .footer-links-accordion {
    display: block;
  }

  .custom-footer .bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .custom-footer .bottom-bar .copyright {
    order: 2;
    margin-top: 15px;
  }
  .custom-footer .bottom-bar .logo-centered {
    order: 1;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .custom-footer .bottom-bar .language-sitemap {
    order: 3;
    margin-top: 15px;
    justify-content: center;
  }

  .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #eee;
  }
  .custom-footer .accordion-header {
    padding: 15px 0;
  }
  .custom-footer .accordion-button {
    background-color: transparent !important;
    color: var(--font-color);
    font-size: 15px;
    padding: 0;
    box-shadow: none !important;
  }
  .accordion-button:not(.collapsed) {
    color: var(--font-color);
  }
  .accordion-button::after {
    background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23333"%3e%3cpath fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3e%3c/svg%3e') !important; /* Down arrow */
    transform: rotate(0deg) !important;
  }
  .accordion-button:not(.collapsed)::after {
    background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23333"%3e%3cpath fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3e%3c/svg%3e') !important; /* Up arrow when open */
    transform: rotate(180deg) !important;
  }
  .accordion-body {
    padding: 0 0 15px 0;
  }
  .accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .accordion-body ul li {
    margin-bottom: 8px;
  }
  .accordion-body ul li a {
    color: var(--font-color);
    text-decoration: none;
    font-size: 14px;
  }
  .accordion-body ul li a:hover {
    color: var(--font-color);
  }
}
@media (max-width: 575.98px) {
  .custom-footer {
    padding: 30px 0 15px;
  }
  .custom-footer .bottom-bar .copyright,
  .custom-footer .bottom-bar .language-sitemap span,
  .custom-footer .bottom-bar .language-sitemap a {
    font-size: 12px;
  }
}

.sitemap-container {
  padding: 40px 20px;
  border-radius: 5px;
  width: 90%;
  max-width: 1300px;
  position: relative;
}

.sitemap-header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative; /* For positioning the close button */
}

.sitemap-header h6 {
  font-size: 22px; /* Larger font size for the title */
  font-weight: 400; /* Lighter font weight */
  color: var(--font-color);
  margin: 0;
  text-align: center;
  font-family: "BauerBodoni-roman", sans-serif;
}

.close-button {
  position: absolute;
  top: -20px; /* Adjust as needed */
  right: 0px; /* Adjust as needed */
  font-size: 28px;
  color: var(--font-color);
  cursor: pointer;
  line-height: 1;
  padding: 0 10px;
  text-decoration: none;
}

.close-button:hover {
  color: #666;
  text-decoration: none;
}

.sitemap-column ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.sitemap-column ul li {
  margin-bottom: 10px;
}

.sitemap-column ul li a {
  text-decoration: none;
  color: #666;
  transition: color 0.3s ease;
}

.sitemap-column ul li a:hover {
  color: #000;
}

@media (min-width: 768px) {
  .sitemap-container {
    padding: 60px 40px;
  }

  .sitemap-header h2 {
    font-size: 3rem;
  }

  .close-button {
    top: -30px;
    right: 0px;
  }

  .sitemap-column ul {
    margin-bottom: 0;
  }
}

/* الحالة الافتراضية (مخفي) */
.divider.end,
#sitemapContainer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

/* الحالة الظاهرة */
.divider.end.show,
#sitemapContainer.show {
  max-height: 1000px; /* رقم كبير يكفي ارتفاع المحتوى */
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#SITEMAP {
  cursor: pointer;
}


.newsletter-title {
  font-size: 30px !important;
  line-height: 36px !important;
  font-family: "BauerBodoni-roman", sans-serif !important;
  font-weight: 400 !important;
  /* Newsletter Title */
}

.footer-menu-title {
  font-size: 20px !important;
  line-height: 18px !important;
  font-family: "BauerBodoni-roman", sans-serif !important;
  font-weight: 500 !important;
  /* Menu Title */
}

.newsletter-description {
  font-size: 16px !important;
  line-height: 24px !important;
  font-family: "PostGrotesk-book", sans-serif !important;
  font-weight: normal !important;
  /* Newsletter Description */
}

.sitemap {
  font-size: 12px !important;
  line-height: 24px !important;
  font-family: "PostGrotesk-book", sans-serif !important;
  font-weight: normal !important;
  /* Sitemap */
}

.menu-sub-item {
  font-size: 12px !important;
  line-height: 20px !important;
  font-family: "PostGrotesk-medium", sans-serif !important;
  font-weight: normal !important;
  /* Submenu Item */
}

.currency {
  font-size: 12px !important;
  line-height: 24px !important;
  font-family: "PostGrotesk-medium", sans-serif !important;
  font-weight: normal !important;
  /* Currency */
}

.footer-copyright {
  font-size: 12px !important;
  line-height: 15px !important;
  font-family: "PostGrotesk-book", sans-serif !important;
  font-weight: normal !important;
  /* All rights reserved */
}
