/* ================================================== */
/* Modern Footer Styles */
/* ================================================== */

.footer-modern {
  position: relative;
  padding: 80px 0 0 0;
  background: linear-gradient(180deg, var(--bg-dark-2, #1a1d24) 0%, #14161b 100%);
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

/* Footer Logo */
.footer-about {
  position: relative;
}

.footer-logo-wrapper {
  margin-bottom: 30px;
}

.footer-logo-wrapper .logo-footer {
  max-width: 180px;
  height: auto;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

.footer-logo-wrapper:hover .logo-footer {
  transform: scale(1.05);
}

/* Social Media Icons */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  opacity: 0.2;
}

.footer-social-link:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-social-link:hover::before {
  width: 100%;
  height: 100%;
}

.footer-social-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.footer-social-link:hover i {
  transform: scale(1.15);
}

/* Social Media Platform Colors */
.footer-social-link.footer-social-facebook:hover {
  background: #1877F2;
  color: #ffffff;
}

.footer-social-link.footer-social-twitter:hover {
  background: #1DA1F2;
  color: #ffffff;
}

.footer-social-link.footer-social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: #ffffff;
}

.footer-social-link.footer-social-youtube:hover {
  background: #FF0000;
  color: #ffffff;
}

.footer-social-link.footer-social-linkedin:hover {
  background: #0A66C2;
  color: #ffffff;
}

.footer-social-link.footer-social-snapchat:hover {
  background: #FFFC00;
  color: #000000;
}

.footer-social-link.footer-social-tiktok:hover {
  background: #000000;
  color: #ffffff;
}

.footer-social-link.footer-social-pinterest:hover {
  background: #E60023;
  color: #ffffff;
}

.footer-social-link.footer-social-telegram:hover {
  background: #0088cc;
  color: #ffffff;
}

.footer-social-link.footer-social-whatsapp:hover {
  background: #25D366;
  color: #ffffff;
}

/* Widget Titles */
.footer-widget-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color, #4CAF50) 0%, transparent 100%);
  border-radius: 2px;
}

/* Footer Links */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color, #4CAF50);
  transition: left 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  padding-right: 8px;
}

.footer-link:hover::before {
  left: 0;
}

.footer-link-icon {
  margin-left: 10px;
  font-size: 12px;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer-link:hover .footer-link-icon {
  opacity: 1;
  transform: translateX(-3px);
}

/* Contact Info */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-icon-wrapper {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color, #4CAF50) 0%, #45a049 100%);
  border-radius: 50%;
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.footer-contact-icon-wrapper i {
  color: #ffffff;
  font-size: 22px;
}

.footer-contact-content {
  flex: 1;
}

.footer-contact-label {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-value {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--primary-color, #4CAF50);
  text-decoration: none;
}

/* Subfooter */
.subfooter-modern {
  margin-top: 60px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.subfooter-content {
  position: relative;
}

.subfooter-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.subfooter-text strong {
  color: #ffffff;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-modern {
    padding: 60px 0 0 0;
  }

  .footer-widget-title {
    font-size: 18px;
  }

  .footer-contact-item {
    margin-bottom: 20px;
    padding: 12px;
  }

  .footer-contact-icon-wrapper {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  .footer-contact-icon-wrapper i {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .footer-modern {
    padding: 50px 0 0 0;
  }

  .footer-social-icons {
    justify-content: center;
    margin-top: 30px;
  }

  .footer-logo-wrapper {
    text-align: center;
  }

  .footer-widget-title {
    text-align: center;
  }

  .footer-widget-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-contact-icon-wrapper {
    margin-left: 0;
    margin-bottom: 15px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-modern .widget {
  animation: fadeInUp 0.6s ease-out;
}

.footer-modern .widget:nth-child(1) {
  animation-delay: 0.1s;
}

.footer-modern .widget:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-modern .widget:nth-child(3) {
  animation-delay: 0.3s;
}

.footer-modern .widget:nth-child(4) {
  animation-delay: 0.4s;
}

/* RTL Support */
[dir="rtl"] .footer-widget-title::after {
  right: 0;
  left: auto;
}

[dir="rtl"] .footer-link-icon {
  margin-right: 10px;
  margin-left: 0;
  transform: rotate(180deg);
}

[dir="rtl"] .footer-link:hover .footer-link-icon {
  transform: rotate(180deg) translateX(3px);
}

[dir="rtl"] .footer-contact-icon-wrapper {
  margin-right: 15px;
  margin-left: 0;
}

[dir="rtl"] .footer-contact-item:hover {
  transform: translateX(-5px);
}

