/* Footer Styles */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  position: relative;
  padding: 5rem 0 2rem;
  margin-top: 3rem;
}

.footer-wave {
  position: absolute;
  top: -99px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 100px;
}

/* NEW: Grid layout for perfect alignment */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.about-column p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links, .contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-green);
}

.contact-info a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: block;
}

.contact-info a:hover {
  color: var(--primary-green);
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

.payment-methods {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

/* Responsive styles for the new grid */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
