/* Modern Luxury Footer Styles - RTL */

/* Footer Main Container */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 0 0;
  margin-top: 40px;
}

/* Footer Top Section */
.footer-top {
  padding-bottom: 30px;
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0d8b6d 0%, #0a7a5f 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.footer-brand__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand__logo-icon i {
  font-size: 20px;
  color: #fff;
}

.footer-brand__logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #0d8b6d;
}

.footer-brand__description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
  text-align: right;
}

/* Footer Contact Info */
.footer-contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact__item:hover {
  color: #0d8b6d;
  text-decoration: none;
}

.footer-contact__item i {
  font-size: 16px;
  width: 20px;
  color: rgba(255, 255, 255, 0.5);
}

/* Footer Links Columns */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.footer-links__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}

.footer-links__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links__list li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links__list li a:hover {
  color: #0d8b6d;
  padding-right: 8px;
  text-decoration: none;
}

/* Collapsible Footer Sections (Mobile) */
.footer-collapse {
  display: none;
}

.footer-collapse__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
}

.footer-collapse__toggle i {
  transition: transform 0.3s ease;
}

.footer-collapse__toggle.active i {
  transform: rotate(180deg);
}

.footer-collapse__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-collapse__content.show {
  max-height: 500px;
}

.footer-collapse__content .footer-links__list {
  padding: 16px 0;
}

/* Footer Social Section */
.footer-social {
  padding: 20px 0;
}

.footer-social__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social__title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-social__icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
}

 .footer-social__icon i {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 1em;
   height: 1em;
   line-height: 1;
   margin: 0;
   padding: 0;
 }

.footer-social__icon:hover {
  background: #0d8b6d;
  color: #fff;
  text-decoration: none;
}

/* Footer Payment Section */
.footer-payment {
  padding: 20px 0;
}

.footer-payment__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-payment__title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-payment__icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-payment__icon {
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-payment__icon:hover {
  transform: translateY(-2px);
}

.footer-payment__icon img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.footer-payment__icon span {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
}

/* Footer Bottom / Copyright */
.footer-bottom {
  padding: 16px 0;
  text-align: center;
}

.footer-bottom__text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.footer-bottom__text span {
  color: #0d8b6d;
}

/* Desktop Layout */
@media (min-width: 992px) {
  .footer-collapse {
    display: none !important;
  }
  
  .footer-links-desktop {
    display: flex !important;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-links-desktop > div {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .footer-social__wrapper,
  .footer-payment__wrapper {
    flex-direction: row;
  }
}

/* Tablet & Mobile */
@media (max-width: 991px) {
  footer {
    padding: 24px 0 0;
    margin-top: 30px;
  }
  
  .footer-top {
    padding-bottom: 16px;
  }
  
  .footer-links-desktop {
    display: none !important;
  }
  
  .footer-collapse {
    display: block;
  }
  
  .footer-brand {
    text-align: center;
    align-items: center;
    gap: 12px;
  }
  
  .footer-brand__description {
    text-align: center;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.6;
  }
  
  .footer-contact {
    align-items: center;
    margin-top: 16px;
    gap: 8px;
  }
  
  .footer-contact__item {
    font-size: 13px;
  }
  
  .footer-social {
    padding: 16px 0;
  }
  
  .footer-social__wrapper,
  .footer-payment__wrapper {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .footer-social__icons {
    justify-content: center;
    order: 2;
  }
  
  .footer-social__title {
    order: 1;
  }
  
  .footer-payment {
    padding: 16px 0;
  }
  
  .footer-payment__icons {
    justify-content: center;
    order: 2;
  }
  
  .footer-payment__title {
    order: 1;
  }
  
  .footer-bottom {
    padding: 12px 0;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .footer-payment__icons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-payment__icon {
    padding: 6px 12px;
    height: 36px;
  }
  
  .footer-payment__icon img {
    height: 16px;
  }
}

/* Light Mode - Keep same dark footer for luxury feel */
body.light-mode footer {
  background: #1a1a1a;
  color: #fff;
}

body.light-mode .footer-brand__logo-text,
body.light-mode .footer-links__title,
body.light-mode .footer-collapse__toggle {
  color: #fff;
}

body.light-mode .footer-brand__description,
body.light-mode .footer-contact__item,
body.light-mode .footer-links__list li a,
body.light-mode .footer-social__title,
body.light-mode .footer-payment__title {
  color: rgba(255, 255, 255, 0.7);
}

body.light-mode .footer-links__list li a:hover,
body.light-mode .footer-contact__item:hover {
  color: #0d8b6d;
}

body.light-mode .footer-bottom__text {
  color: rgba(255, 255, 255, 0.5);
}
