/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #1a365d, #2c5282);
  color: white;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main Footer Content */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 32px;
  margin-right: 10px;
  color: #63b3ed;
}

.footer-logo .logo-text {
  font-size: 28px;
  font-weight: bold;
}

.footer-description {
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #4299e1;
  transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #4299e1;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.footer-column ul li a:hover {
  color: #63b3ed;
  padding-left: 5px;
}

/* Newsletter Section */
.footer-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.newsletter-content p {
  opacity: 0.9;
}

.newsletter-form {
  flex: 0 0 400px;
}

.newsletter-form form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
  padding: 12px 25px;
  background: #4299e1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #3182ce;
}

/* Footer Bottom */
.footer-bottom {
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  opacity: 0.8;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #63b3ed;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .newsletter-form {
    flex: 0 0 350px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-newsletter {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  
  .newsletter-form {
    flex: none;
    width: 100%;
    max-width: 400px;
  }
  
  .newsletter-form form {
    flex-direction: column;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-column h3 {
    font-size: 16px;
  }
  
  .newsletter-content h3 {
    font-size: 20px;
  }
  
  .footer-logo .logo-text {
    font-size: 24px;
  }
  
  .footer-logo i {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-main {
    padding: 30px 0 20px;
  }
  
  .footer-logo .logo-text {
    font-size: 22px;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
  
  .footer-bottom-links {
    gap: 15px;
  }
  
  .footer-bottom-links a {
    font-size: 13px;
  }
}