/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #ffffff;
  padding: 60px 0 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4db, #0083b0);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* Company Info */
.company-info {
  padding-right: 20px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo h2 {
  font-size: 2rem;
  color: #00b4db;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.footer-description {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: #00b4db;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 180, 219, 0.3);
}

/* Footer Sections Common Styles */
.footer-title {
  color: #00b4db;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #0083b0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  color: #b0b0b0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-list a:hover {
  color: #00b4db;
  transform: translateX(5px);
}

.footer-list a i {
  font-size: 0.8rem;
  color: #00b4db;
}

/* Contact Info */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-list i {
  color: #00b4db;
  font-size: 1.1rem;
  margin-top: 3px;
  min-width: 20px;
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
}

.footer-newsletter h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer-newsletter form {
  display: flex;
  gap: 10px;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 5px;
  font-size: 0.9rem;
}

.footer-newsletter input::placeholder {
  color: #999;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: #00b4db;
}

.footer-newsletter button {
  background: #00b4db;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background: #0083b0;
  transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: #00b4db;
}

/* Payment Methods */
.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods span {
  color: #b0b0b0;
  font-size: 0.9rem;
}

.payment-icons {
  display: flex;
  gap: 15px;
}

.payment-icons i {
  font-size: 1.5rem;
  color: #b0b0b0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-icons i:hover {
  color: #00b4db;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .company-info {
    padding-right: 0;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-newsletter form {
    flex-direction: column;
  }
  
  .payment-methods {
    flex-direction: column;
    text-align: center;
  }
}

/* Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.social-link:hover i {
  animation: float 0.5s ease-in-out;
}

/* Admin Badge in Sidebar */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

/* Admin Links in Sidebar */
.admin-links {
  background: rgba(0, 180, 219, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  border-left: 3px solid #00b4db;
}

.admin-title {
  color: #00b4db;
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.admin-link:hover {
  background: rgba(0, 180, 219, 0.2);
  transform: translateX(5px);
}

.admin-link i {
  color: #00b4db;
  font-size: 0.9rem;
}

/* Development Links */
.dev-links {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
}

.dev-links h4 {
  color: #00b4db;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.dev-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.dev-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 180, 219, 0.1);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.dev-link:hover {
  background: rgba(0, 180, 219, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 180, 219, 0.2);
}

.dev-link i {
  color: #00b4db;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #00b4db;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #0083b0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 180, 219, 0.3);
}