/* ==============================
   FOOTER
   ============================== */

/* === Variables === */
:root {
    --color-primary: #2a2e60;
    --color-secondary: #35C4F5;
    --color-dark: #1a1a1a;
    --color-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

.site-footer {
  background-color: var(--color-dark);
  color: rgb(237, 236, 236);
  padding: 3rem 0 0 0;
  margin-top: auto;
  z-index: 1;
}

.footer-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem 2rem 2rem;
  z-index: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.footer-title {
  color: rgb(237, 236, 236);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-weight: bold;
}

.footer-description {
  color: rgb(200, 200, 200);
  line-height: 1.6;
  font-size: 14px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgb(237, 236, 236);
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
 color: var(--ast-global-color-1);
}


.footer-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  border-radius: 1px;
  transition: width 0.3s;
  margin-top: 2px;
}

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

/* Contact Info */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  color: rgb(200, 200, 200);
  margin-bottom: 0.5rem;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Social Links */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-link {
  color: rgb(237, 236, 236);
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  
}

.social-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  border-radius: 1px;
  transition: width 0.3s;
  margin-top: 2px;
}

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

.social-link:hover {
  color: var(--ast-global-color-1);
}

/* Icon Styling */
.social-link i {
  font-size: 20px;
  transition: all 0.3s ease;
  width: 24px;
  text-align: center;
}

/* LinkedIn Icon */
.social-link .fa-linkedin-in {
  color: var(--color-white);
  padding: 8px;
  border-radius: 4px;
  background: rgba(21, 107, 175, 1.00);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Twitter Icon */
.social-link .fa-square-x-twitter {
   color: rgb(237, 236, 236);
}

/* Footer Bottom */
.footer-bottom {
  background-color: var(--color-dark);
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(237, 236, 236, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgb(200, 200, 200);
  font-size: 14px;
  letter-spacing: 1px;
}

.separator {
  margin: 0 0.5rem;
  color: rgb(200, 200, 200);
}

.privacy-link {
  color: rgb(200, 200, 200);
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: var(--ast-global-color-1);
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */

@media screen and (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }

  .footer-links a,
  .social-link {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .site-footer {
    padding: 2rem 0 0 0;
  }

  .footer-container {
    gap: 1.5rem;
    padding: 0 1rem 1.5rem 1rem;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 0.75rem;
  }

  .footer-description,
  .footer-links a,
  .footer-contact li,
  .social-link {
    font-size: 13px;
  }
}
