.footer {
  background: var(--secondary-bg);
  padding: 4rem 2rem 1rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.footer-section {
  /* Basic styling for sections */
}

/* Styling for the section containing the logo */
.footer-section:first-child {
  /* Center logo and text if needed, especially on mobile */
}

.footer-logo-image {
  display: block;
  height: 140px;
  width: auto;
  margin-bottom: 1rem;
  /* filter: brightness(0) invert(1); /* Optional: Invert colors if logo is dark */
}

.footer-section h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--accent-glow);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;  
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.footer-section ul li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Social Media Links Styling */
.social-media-links {
  margin-top: 1.5rem; /* Space above the icons */
  display: flex;
  gap: 1rem; /* Space between icons */
}

.social-media-links a {
  display: inline-flex; /* Use inline-flex for centering */
  align-items: center;
  justify-content: center;
  width: 40px; /* Size of the icon container */
  height: 40px;
  border-radius: 50%; /* Circular shape */
  background: rgba(255, 255, 255, 0.1); /* Subtle background */
  color: var(--text-secondary); /* Icon color */
  text-decoration: none;
  font-size: 1rem; /* Adjust if using text placeholders */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-media-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-bg); /* Change color on hover */
  transform: scale(1.1); /* Slight scale effect */
}

/* Add this if you need to adjust icon size specifically */
.social-media-links a svg {
  font-size: 1.2rem; /* Example size, adjust as needed */
  /* color: inherit; /* Icons should inherit color from the <a> tag */
}

/* Responsive Adjustments for Social Links */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 1rem 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-image {
    height: 70px;
    margin-bottom: 0.5rem;
  }

  .footer-section h4 {
    display: block;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-section ul {
    /* Align list items if needed, already centered due to parent */
  }

  .social-media-links {
    justify-content: center; /* Center icons within the flex container */
    margin-top: 1rem; /* Adjust spacing */
  }

  .social-media-links a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem; /* Adjust size if needed */
  }

  /* Adjust icon size on mobile if needed */
  .social-media-links a svg {
    font-size: 1rem; /* Example smaller size */
  }

  .footer-logo img {
    height: 85px;  /* Adjusted for mobile view */
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-logo-image {
    height: 55px;
  }

  .footer-logo img {
    height: 70px;  /* Further adjusted for smaller screens */
  }
}

.footer-logo img {
  height: 100px;  /* Increased size for better visibility */
  margin-bottom: 1rem;
} 