/* Enhanced Footer Styles */
.global-footer {
  background-color: var(--bg);
  color: var(--fontlight);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0;
  font-size: 16px;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Subtle animated background pattern */
.global-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(132, 255, 146, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(132, 255, 146, 0.03) 0%, transparent 50%);
  opacity: 0.5;
  z-index: 0;
}

.footer-main {
  padding: 40px 0 30px;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-col {
  padding: 0 15px;
  margin-bottom: 30px;
}

.about-col {
  flex: 0 0 33%;
}

.nav-col {
  flex: 0 0 18%;
}

.contact-col {
  flex: 0 0 25%;
}

.footer-logo h3 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-about p {
  margin-bottom: 25px;
  line-height: 1.6;
  opacity: 0.8;
  font-size: 15px;
}

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

.social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 18px;
  transition: all 0.3s ease;
  background-color: rgba(132, 255, 146, 0.05);
}

.social-links li a:hover {
  background-color: #84ff92;
  color: var(--bg);
  border-color: #84ff92;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(132, 255, 146, 0.3);
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
  position: relative;
  margin-top: 0;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 2px;
  width: 30px;
  background-color: #84ff92;
}

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

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav li a {
  color: var(--fontlight);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-nav li a:hover {
  opacity: 1;
  color: #84ff92;
  padding-left: 5px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  opacity: 0.8;
}

.contact-info li i {
  margin-right: 10px;
  color: #84ff92;
  font-size: 18px;
}

.newsletter h4 {
  margin-top: 15px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: var(--fontlight);
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 68px;
    background-color: #84ff92;
    color: var(--bg);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.newsletter-form button:hover {
  background-color: #6de87d;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright p {
  margin: 0;
  opacity: 0.7;
  font-size: 14px;
}

.footer-bottom-links ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links ul li {
  margin-left: 20px;
}

.footer-bottom-links ul li a {
  color: var(--fontlight);
  opacity: 0.7;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-bottom-links ul li a:hover {
  opacity: 1;
  color: #84ff92;
}

@media (max-width: 991px) {
  .about-col {
    flex: 0 0 100%;
  }
  
  .nav-col {
    flex: 0 0 45%;
  }
  
  .contact-col {
    flex: 0 0 100%;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .footer-row {
    flex-direction: column;
  }
  
  .footer-col {
    flex: 0 0 100%;
    padding: 0;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links ul {
    justify-content: center;
    margin-top: 15px;
  }
  
  .footer-bottom-links ul li {
    margin: 0 10px;
  }
}
