/* Scoped Footer CSS - Will not affect the rest of your site */

.footer {
  /* define variables locally so they don't leak */
  --footer-bg: #000000;
  --footer-text-white: #ffffff;
  --footer-text-grey: #9ca3af;
  --footer-text-dark-grey: #6b7280;
  --gradient-start: #d946ef;
  --gradient-mid: #22d3ee;
  --gradient-end: #a3e635;
  --footer-border: #333333;

  background-color: var(--footer-bg);
  color: var(--footer-text-white);
  line-height: 1.5;
  width: 100%;

  /* Ensure the footer handles box-sizing correctly internally */
  box-sizing: border-box;
}

/* Apply box-sizing reset only to elements INSIDE the footer */
.footer *,
.footer *::before,
.footer *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

/* Main Container */
.footer-container {
  padding: 2rem;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  margin-bottom: 4rem;
}

/* .footer-section{
    border: 1px solid red;
} */
/* Scoped Typography */
.footer h3 {
  font-size: 16px;
  line-height: 35px;
  font-weight: 500;

  color: var(--footer-text-white);
}

.footer ul {
  list-style: none;
  margin-top: 1rem;
}

.footer a {
  text-decoration: none;

  font-size: 14px;
  line-height: 35px;
  font-weight: 100;
  color: #717171;
  transition: color 0.2s ease;
}

/* .footer-link {
    display: block;
    color: var(--footer-text-grey);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 400;
} */

.footer-link:hover {
  color: var(--footer-text-white);
}

.footer-text {
  color: var(--footer-text-grey);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Address Styling */
.address-block p {
  margin-bottom: 0.5rem;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  color: #717171;
  transition: color 0.2s ease;
}

.address-block p:hover {
  color: #f6f2f2bf;
}

.address-block span {
  margin-top: 1rem;
  color: #c6c7c9;
  margin-bottom: 1rem;
  font-size: 14px;
  line-height: 20px;
}

.company-name {
  color: var(--footer-text-white);
  font-weight: 400;
  margin-bottom: 1rem;
  display: block;
}

/* Brand Section */
.footer-section {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: flex-start;
}

/* Slogan */
.slogan {
  font-size: 18px;
  line-height: 22px;
  font-weight: 650;
  text-align: left;
  margin-bottom: 1rem;
  max-width: 300px;
}

.gradient-text {
  background: linear-gradient(90deg,
      #cfa1ff,
      #00d885,
      #d2f501,
      #85f346,
      #42c9cd,
      #77c6e7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #00d885;
  /* background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: hue 10s infinite linear; */
  /* fallback */
}

@-webkit-keyframes hue {
  from {
    -webkit-filter: hue-rotate(0deg);
  }

  to {
    -webkit-filter: hue-rotate(-360deg);
  }
}

.brand-desc {
  color: #717171;
  font-size: 12px;
  margin-bottom: 1.5rem;
  max-width: 250px;
  text-align: left;
  line-height: 16px;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 10px;
  ;
}

.social-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text-grey);
  transition: all 0.3s ease;
  background: transparent;
  /* Reset explicit background */
}
.social-icon:hover img {
  filter: brightness(0) invert(1);
}
.social-icon:hover {
  border-color: var(--footer-text-white);
  color: var(--footer-text-white);
}

.social-icon img {
  width: auto;
  height: 16px;
  transition: filter 0.25s ease;
}

/* Facebook */
.social-icon.facebook:hover img {
  content: url("../assets/socialIcons/facebook-hover.svg");
}

/* instagram */
.social-icon.instagram:hover img {
  content: url("../assets/socialIcons/instagram-hover.svg");
}
/* linkedin */
.social-icon.linkedin:hover img {
  content: url("../assets/socialIcons/linkedin-hover.svg");
}
/* youtube */
.social-icon.youtube:hover img {
  content: url("../assets/socialIcons/youtube-hover.svg");
}
/* twitter */
.social-icon.twitter:hover img {
  content: url("../assets/socialIcons/twitter-hover.svg");
}
/* whatsapp */
.social-icon.whatsapp:hover img {
  content: url("../assets/socialIcons/whatsapp-hover.svg");
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;

  color: var(--footer-text-dark-grey);
  font-size: 0.8rem;
  width: 100%;
}

.footer-bottom p {
  color: #3A3A3A;
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  color: #3A3A3A;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 12px;
  color: #3A3A3A;
}

.slogan-container {
  padding: 0;
}

.social-links {
  order: 2;
}

.address-block {}

.footer-bottom-links a {
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.links-container {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 2rem;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .slogan-container {
    padding-left: 3rem;
  }

  .footer-container {
    padding: 4rem 1.5rem 2rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 3fr 2fr 2fr;
    gap: 1rem;
  }

  .links-container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .brand-section {
    align-items: flex-start;
    padding-left: 2rem;

    height: 100%;
  }

  .footer-bottom {
    flex-direction: row;
    padding: 1rem 3rem;
    justify-content: space-between;
    align-items: center;
  }

  .social-links {
    order: -1;
    margin-bottom: 2rem;
    margin-left: auto;
  }

  .slogan,
  .brand-desc {
    width: 100%;
  }

  .social-links {
    margin-left: 0;
  }
}