/* Footer Styles */
footer {
  background: var(--gradient-2);
  padding: 3rem 2rem;
  color: var(--text-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  transition: transform var(--transition-speed) ease;
}

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

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-link {
  margin: 0 1rem;
  color: var(--text-color);
  transition: all var(--transition-speed) ease;
  position: relative;
  padding: 0.5rem 0;
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-1);
  transition: width var(--transition-speed) ease;
}

.footer-link:hover {
  color: var(--accent-color);
}

.footer-link:hover::after {
  width: 100%;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.7);
  position: relative;
  padding-top: 2rem;
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background: var(--gradient-1);
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0.5rem;
  background: var(--card-bg);
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  transition: 0.5s;
  opacity: 0;
}

.social-link:hover::before {
  left: 0;
  opacity: 1;
}

.social-link i {
  color: var(--text-color);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition-speed) ease;
}

.social-link:hover i {
  color: var(--text-dark);
}

/* Newsletter Form */
.newsletter {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 500px;
}

.newsletter h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--accent-color);
  text-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.newsletter-form {
  display: flex;
  position: relative;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px 0 0 12px;
  background: var(--card-bg);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  transition: all var(--transition-speed) ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.newsletter-button {
  background: var(--gradient-1);
  color: var(--text-dark);
  border: none;
  border-radius: 0 12px 12px 0;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.newsletter-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.newsletter-button:hover::before {
  left: 100%;
}

.newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 211, 238, 0.2);
}