/* ============================================
   MODERN FOOTER STYLING
   ============================================ */

.footer-wrapper {
  background: linear-gradient(135deg, #0f0a2e 0%, #1a0f3f 100%);
  color: #e0e0e0;
}

/* Main Footer Content */
.footer-main {
  padding: 40px 0 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 25px;
}

.footer-column {
  animation: fadeInUp 0.6s ease-out;
}

.footer-section {
  position: relative;
  z-index: 1;
}

/* Footer Logo */
.footer-logo {
  display: inline-block;
  margin-bottom: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 12px;
  line-height: 1.5;
  color: #b0b0b0;
  margin-bottom: 18px;
}

/* Contact Block */
.footer-contact-block {
  margin-top: 18px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.footer-contact-list li:last-child {
  margin-bottom: 0;
}

.footer-contact-list i {
  font-size: 16px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list span {
  display: block;
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.footer-contact-list a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 12px;
}

.footer-contact-list a:hover {
  color: #10b981;
  text-decoration: underline;
}

.footer-contact-list p {
  color: #b0b0b0;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* Footer Headings */
.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 18px 0;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #10b981 0%, transparent 100%);
  border-radius: 2px;
}

.footer-subheading {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 12px 0;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a i {
  font-size: 10px;
  color: #10b981;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.stat-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border-left: 2px solid #10b981;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 18px;
  font-weight: 700;
  color: #10b981;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* App Download Buttons */
.footer-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 12px;
  white-space: nowrap;
}

.app-button i {
  font-size: 18px;
  color: #10b981;
}

.app-button div {
  display: flex;
  flex-direction: column;
}

.app-button span {
  font-size: 9px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.app-button strong {
  font-weight: 600;
  color: #ffffff;
  font-size: 11px;
}

.app-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #10b981;
  transform: translateX(4px);
}

/* Footer Divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  margin: 20px 0;
}

/* Footer Middle Section */
.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 0;
}

/* Payment Methods */
.footer-payments {
  flex: 1;
}

.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.payment-item {
  display: inline-flex;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.payment-item img {
  height: 24px;
  width: auto;
  max-width: 45px;
  object-fit: contain;
}

.payment-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #10b981;
  transform: translateY(-2px);
}

/* Language Selector */
.footer-language {
  flex-shrink: 0;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: #e0e0e0;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.language-button i {
  font-size: 16px;
  color: #10b981;
}

.language-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #10b981;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.copyright {
  flex: 1;
}

.copyright p {
  margin: 0;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}

.copyright strong {
  color: #10b981;
  font-weight: 600;
}

/* Social Icons */
.footer-socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 12px;
}

.social-icon:hover {
  transform: translateY(-4px);
  border-color: #10b981;
}

.social-icon.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.social-icon.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: white;
}

.social-icon.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: white;
}

.social-icon.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: white;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: white;
}

/* Utility Classes */
.mt-4 {
  margin-top: 18px !important;
}

/* ============================================
   RESPONSIVE FOOTER DESIGN
   ============================================ */

/* Tablet: 768px - 1199px */
@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .footer-heading::after {
    width: 40px;
  }

  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 0;
  }

  .payment-methods {
    justify-content: flex-start;
  }
}

/* Small Tablet: 768px - 991px */
@media (max-width: 991px) {
  .footer-main {
    padding: 35px 0 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 20px;
  }

  .footer-stats {
    grid-template-columns: 1fr;
  }

  .footer-socials {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .copyright p {
    font-size: 10px;
  }
}

/* Mobile: 576px - 767px */
@media (max-width: 767px) {
  .footer-main {
    padding: 30px 0 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-column {
    animation: none;
  }

  .footer-section {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 15px;
    padding: 12px 0;
  }

  .payment-methods {
    gap: 6px;
  }

  .payment-item {
    padding: 5px 8px;
  }

  .payment-item img {
    height: 20px;
  }

  .language-button {
    width: 100%;
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
  }

  .copyright {
    order: 1;
  }

  .footer-socials {
    order: 2;
    justify-content: center;
  }
}

/* Small Mobile: < 576px */
@media (max-width: 575px) {
  .footer-main {
    padding: 35px 0 20px;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-section {
    padding: 12px;
  }

  .footer-logo img {
    height: 45px;
  }

  .footer-tagline {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .footer-heading {
    font-size: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }

  .footer-heading::after {
    width: 35px;
    height: 2px;
  }

  .footer-subheading {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-label {
    font-size: 11px;
  }

  .app-button {
    padding: 10px 12px;
    font-size: 12px;
  }

  .app-button i {
    font-size: 18px;
  }

  .footer-divider {
    margin: 20px 0;
  }

  .footer-middle {
    padding: 15px 0;
  }

  .payment-methods {
    gap: 6px;
  }

  .payment-item {
    padding: 5px 8px;
  }

  .payment-item img {
    height: 20px;
  }

  .language-button {
    font-size: 12px;
    padding: 8px 12px;
  }

  .language-button i {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .copyright p {
    font-size: 11px;
  }

  .footer-socials {
    gap: 8px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
}

/* Extra Small Mobile: < 480px */
@media (max-width: 479px) {
  .footer-main {
    padding: 30px 0 15px;
  }

  .footer-grid {
    gap: 15px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-tagline {
    font-size: 12px;
  }

  .footer-heading {
    font-size: 14px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-contact-list li {
    gap: 12px;
  }

  .footer-contact-list i {
    font-size: 16px;
  }

  .stat-number {
    font-size: 16px;
  }

  .foot-app-buttons {
    gap: 8px;
  }

  .copyright p {
    font-size: 10px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
