/* ==============================
   FOOTER STYLES
   ============================== */

/* ----- Marquee ----- */
.footer-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0d0d0d;
  padding: 15px 0;
}
.footer-marquee::before,
.footer-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.footer-marquee::before {
  left: 0;
  background: linear-gradient(to right, #111 0%, transparent 100%);
}
.footer-marquee::after {
  right: 0;
  background: linear-gradient(to left, #111 0%, transparent 100%);
}
.marquee-content {
  display: flex;
  gap: 50px;
  animation: marquee 15s linear infinite;
  white-space: nowrap;
}
.marquee-content h2 {
  font-size: 4.5vw;
  font-weight: 900;
  letter-spacing: 5px;
  color: #292929;
  margin: 0;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ----- Gradient Bar ----- */
.animated-gradient-bar {
  width: 100%;
  height: 6px;
  background: linear-gradient(270deg,
    #ff0080, #7928ca, #2afadf, #ff8c00, #ff0080);
  background-size: 600% 600%;
  animation: gradientAnimation 8s ease infinite;
  border-radius: 2px;
  margin: 20px 0;
}
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ----- General Footer ----- */
footer {
  color: #bbb;
  font-family: 'Arial', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  padding: 40px 0 0;
}
.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
  display: block;
}
.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #ff0066;
}

.footer-social {
  margin-top: 10px;
}
.footer-social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  color: #bbb;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: #ff0066;
}
.footer-col {
  margin-bottom: 30px;
}

/* ----- Desktop Layout ----- */
@media (min-width: 992px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
  }
}

/* ----- Tablet Layout ----- */
@media (max-width: 991px) and (min-width: 768px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* ----- Mobile Layout (Custom format) ----- */
@media (max-width: 767px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "about"
      "company"
      "services"
      "hire"
      "touch";
    gap: 20px;
  }
  


  /* Line 1: About (logo, text, social icons) */
  .footer-col:nth-child(1) {
    grid-area: about;
    text-align: center;
  }
  .footer-col:nth-child(1) .footer-logo {
    max-width: 160px;
    margin: 0 auto 15px;
  }
  .footer-col:nth-child(1) .footer-social {
    text-align: center;
  }

  /* Line 2: Company full width */
  .footer-col:nth-child(2) {
    grid-area: company;
    text-align: center;
  }

  /* Line 3: Services full width */
  .footer-col:nth-child(3) {
    grid-area: services;
    text-align: center;
  }

  /* Line 4: Hire Developers full width */
  .footer-col:nth-child(4) {
    grid-area: hire;
    text-align: center;
  }

  /* Line 5: Get in Touch full width */
  .footer-col:nth-child(5) {
    grid-area: touch;
    text-align: center;
  }

  /* Prevent overflow text */
  .footer-links a,
  .footer-p {
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    white-space: normal;
  }
}




/* ----- Footer Bottom ----- */
.tp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
  color: #bbb;
}
.tp-footer__bottom a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}
.tp-footer__bottom a:hover {
  color: #ff0066;
}


/* List items with arrow */
.footer-links li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px; /* space for arrow */
}
.footer-links li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff0066;
  font-size: 14px;
  line-height: 1.4;
}

/* Paragraph with arrow */
.footer-p {
  color: #bbb;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px; /* space for arrow */
}
.footer-p::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff0066;
  font-size: 14px;
  line-height: 1.4;
}
