/* footer.css */
:root {
  --secondary: #2563eb;
  --dark-bg: #ffffff;
  --text-light: #70859e;
  --text-lighter: #000000;
}

.crx-footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 2.5rem 1rem;
  font-size: 0.95rem;
}

.crx-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
}

.crx-footer__logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}

.crx-footer__desc {
  margin: 1rem 0;
  line-height: 1.5;
  color: var(--text-lighter);
}

.crx-footer__socials a {
  margin-right: 0.75rem;
  color: var(--text-light);
  font-size: 1.25rem;
  transition: color .2s;
}

.crx-footer__socials a:hover {
  color: var(--secondary);
}

.crx-footer__col h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.crx-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crx-footer__col ul li {
  margin-bottom: 0.5rem;
}

.crx-footer__col a {
  color: var(--text-lighter);
  text-decoration: none;
  transition: color .2s;
}

.crx-footer__col a:hover {
  color: #008cff;
}

.crx-footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-lighter);
}

.crx-footer__bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  border-top: 1px solid #334155;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-lighter);
}

.crx-footer__legal {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crx-footer__legal a {
  color: var(--text-lighter);
  text-decoration: none;
  transition: color .2s;
}

.crx-footer__legal a:hover {
  color: #fff;
}












.crx-footer__contact-list {
  display: flex;
  flex-direction: column; /* Ensure stacked layout */
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-lighter);
}

.crx-footer__contact-list li {
  display: flex;
  align-items: center; /* Ensure icon and text are centered */
  gap: 0.5rem;
}
/* mobile: footer columns stack, legal links stack */
@media (max-width: 768px) {
  .crx-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .crx-footer__socials {
    justify-content: center;
  }
  .crx-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
    .crx-footer__contact-list {
    align-items: center; /* Center align on mobile */
  }
}






















.scroll-up-btn-2 {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 10000;
}

.scroll-up-btn-2 i {
  font-size: 1.25rem;
  color: var(--primary, #1A73E8);
  transition: transform 0.3s;
}

.scroll-up-btn-2:hover {
  background-color: #f0f0f0;
}

.scroll-up-btn-2:hover i {
  transform: translateY(-2px);
}

/* Optional: hide until user scrolls down */
.scroll-up-btn-2 {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
body.scrolled .scroll-up-btn-2 {
  opacity: 1;
  visibility: visible;
}

/* You can trigger “scrolled” on <body> via JS:
   window.addEventListener('scroll', () => {
     document.body.classList.toggle('scrolled', window.pageYOffset > 200);
   });
*/
/* scroll-up button */
.scroll-up-btn-2 {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  z-index: 10000;
}

/* arrow icon */
.scroll-up-btn-2 i {
  font-size: 1.25rem;
  color: var(--primary, #1A73E8);
}

/* hover effects */
.scroll-up-btn-2:hover {
  background-color: #f0f0f0;
}
.scroll-up-btn-2:hover i {
  transform: translateY(-2px);
}
