/* Modern Footer Styles */
.modern-footer {
  background: linear-gradient(135deg, #333333 0%, #28a745 50%, #ffd700 100%);
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.2;
}

.modern-footer .container {
  position: relative;
  z-index: 2;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget .widget-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #28a745);
  border-radius: 2px;
}

.footer-logo {
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.footer-widget p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.footer-social ul li {
  margin: 0;
}

.footer-social ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social ul li a:hover {
  background: linear-gradient(135deg, #ffd700, #28a745);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
  color: #333;
}

.footer-social ul li a i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.footer-social ul li a:hover i {
  transform: scale(1.2);
}

.list-arrow {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-arrow li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.list-arrow li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd700;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.list-arrow li:hover::before {
  transform: translateX(5px);
}

.list-arrow li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 5px 0;
}

.list-arrow li a:hover {
  color: #ffd700;
  transform: translateX(5px);
}

.copyright {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.copyright-info {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.copyright-info a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.copyright-info a:hover {
  color: #28a745;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.footer-menu ul li {
  margin: 0;
  flex: 1;
  text-align: center;
}

.footer-menu ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  display: block;
  white-space: nowrap;
}

.footer-menu ul li a:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.back-to-top {
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.back-to-top .btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #28a745);
  border: none;
  color: #333;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.back-to-top .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, #28a745, #ffd700);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-widget .widget-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .footer-social ul {
    gap: 12px;
  }
  
  .footer-social ul li a {
    width: 35px;
    height: 35px;
  }
  
  .footer-social ul li a i {
    font-size: 14px;
  }
  
  .list-arrow li {
    margin-bottom: 10px;
  }
  
  .list-arrow li a {
    font-size: 13px;
  }
  
  .footer-menu ul {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .footer-menu ul li {
    flex: none;
    min-width: 120px;
  }
  
  .footer-menu ul li a {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .copyright-info {
    font-size: 12px;
    text-align: center;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top .btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 30px 0 20px;
  }
  
  .footer-widget .widget-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .footer-widget p {
    font-size: 13px;
  }
  
  .footer-social ul {
    gap: 10px;
  }
  
  .footer-social ul li a {
    width: 30px;
    height: 30px;
  }
  
  .footer-social ul li a i {
    font-size: 12px;
  }
  
  .list-arrow li a {
    font-size: 12px;
  }
  
  .footer-menu ul {
    flex-direction: column;
    gap: 5px;
  }
  
  .footer-menu ul li {
    width: 100%;
  }
  
  .footer-menu ul li a {
    font-size: 11px;
    padding: 5px 8px;
  }
  
  .copyright-info {
    font-size: 11px;
  }
  
  .back-to-top .btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}
