/* ============================================================
   INDUS HOLDINGS — Footer Component (footer.css)
   ============================================================ */

/* ── CTA Banner (above footer) ── */
.footer-cta {
  background: var(--grad);
  padding: 80px 60px;
  position: relative; overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(255,255,255,.04) 40px, rgba(255,255,255,.04) 41px
  );
}
.footer-cta::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.footer-cta-inner {
  max-width: var(--inner-max); margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 32px;
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; color: #fff; line-height: 1.15;
}
.footer-cta p { font-size: 16px; color: rgba(255,255,255,.7); margin-top: 10px; max-width: 400px; }
.footer-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Gradient line ── */
.footer-grad-line { height: 3px; background: var(--grad); }

/* ── Main Footer ── */
.site-footer {
  background: #0d1820;
  padding: 72px 60px 0;
}

.footer-main {
  max-width: var(--inner-max); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Brand column */
.footer-brand .footer-logo img {
  height: 52px; width: auto; border-radius: 8px; margin-bottom: 18px;
}
.footer-tagline {
  font-size: 13px; color: rgba(255,255,255,.38);
  line-height: 1.75; max-width: 300px; margin-bottom: 24px;
}

/* Contact quick-links inside brand col */
.footer-contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
  line-height: 1.45;
}
.footer-contact-item:hover { color: rgba(255,255,255,.85); }
.footer-contact-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; margin-top: 1px;
}

/* Social row */
.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.footer-social-btn:hover {
  background: var(--grad); border-color: transparent;
  transform: translateY(-3px);
}

/* Nav columns */
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: var(--grad); border-radius: 2px;
}
.footer-col a {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: rgba(255,255,255,.4);
  text-decoration: none; margin-bottom: 11px;
  transition: color .2s, gap .2s;
}
.footer-col a::before {
  content: '›'; font-size: 14px;
  color: rgba(21,101,168,.5);
  transition: color .2s;
}
.footer-col a:hover { color: rgba(255,255,255,.85); gap: 10px; }
.footer-col a:hover::before { color: var(--green-mid); }

/* Portfolio strip */
.footer-portfolio {
  max-width: var(--inner-max); margin: 0 auto;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-portfolio-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  color: rgba(255,255,255,.25); text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-portfolio-strip {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.footer-portfolio-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px; color: rgba(255,255,255,.45);
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.footer-portfolio-pill:hover {
  background: rgba(21,101,168,.15);
  border-color: rgba(21,101,168,.3);
  color: rgba(255,255,255,.8);
}
.footer-portfolio-pill .pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

/* Bottom bar */
.footer-bottom {
  max-width: var(--inner-max); margin: 0 auto;
  padding: 22px 0 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copyright {
  font-size: 12.5px; color: rgba(255,255,255,.28);
}
.footer-devby {
  font-size: 12px; color: rgba(255,255,255,.22);
  display: flex; align-items: center; gap: 6px;
}
.footer-devby a {
  color: rgba(90,174,224,.7);
  text-decoration: none; font-weight: 600;
  transition: color .2s;
}
.footer-devby a:hover { color: var(--blue-lt); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .footer-cta { padding: 64px 40px; }
  .site-footer { padding: 60px 40px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer-cta { padding: 56px 24px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 48px 24px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-portfolio-strip { gap: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-cta h2 { font-size: 26px; }
  .footer-cta-btns { flex-direction: column; width: 100%; }
  .footer-cta-btns .btn-white,
  .footer-cta-btns .btn-ghost { width: 100%; justify-content: center; }
}
