/**
 * Footer Styles - SEO Mega Footer
 * Container: 1250px | Padding: 16px
 * @package Devansh_Starter
 */

/* Kill Hello Elementor default footer */
/* Force footer full width */
#siteFooter,
#siteFooter .footer-main,
#siteFooter .footer-cta,
#siteFooter .footer-bottom {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(-50vw + 50%) !important;
  box-sizing: border-box !important;
}
footer.site-footer:not(#siteFooter),
.ehf-footer,
.hfe-footer,
[data-elementor-type="footer"],
.elementor-location-footer {
  display: none !important;
}

/* ================================================================
   FOOTER STRUCTURE
   ================================================================ */
#siteFooter {
  font-family: var(--font-body, 'Source Sans 3', sans-serif);
  color: #ccc;
  margin-top: auto;
}

.footer-inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
}

.mt-24 { margin-top: 24px; }

/* ================================================================
   MAIN FOOTER
   ================================================================ */
.footer-main {
  background: #1a1a1a;
  padding: 56px 0 48px;
}

.footer-main .footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Brand column */
.footer-brand-col {
  padding-right: 20px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #b0b0b0;;
  margin-bottom: 20px;
}

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #ccc;
  text-decoration: none;
  transition: color 0.15s ease;
}

a.footer-contact-item:hover {
  color: #d4f161;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Social */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: #99bc12;
  border-color: #99bc12;
  color: #fff;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

/* ================================================================
   LINK COLUMNS
   ================================================================ */
.footer-heading {
  font-family: var(--font-heading, 'Titillium Web', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(153, 188, 18, 0.3);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 0.8125rem;
  color: #b0b0b0;;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
  line-height: 1.4;
}

.footer-links a:hover {
  color: #d4f161;
  padding-left: 4px;
}

/* ================================================================
   CTA BAND
   ================================================================ */
.footer-cta {
  background: #99bc12;
  padding: 32px 0;
}

.footer-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-cta-text {
  font-family: var(--font-heading, 'Titillium Web', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Override green btn in CTA band */
.footer-cta .btn-green {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.footer-cta .btn-green:hover {
  background: #000;
  border-color: #000;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.btn-outline-light {
  padding: 10px 22px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  font-family: var(--font-body, 'Source Sans 3', sans-serif);
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline-light:hover {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
  transform: translateY(-1px);
}

/* ================================================================
   BOTTOM BAR
   ================================================================ */
.footer-bottom {
  background: #111;
  padding: 18px 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: #666;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
  color: #d4f161;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-main .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
  }

  .footer-logo { grid-column: 1 / -1; }
  .footer-tagline { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 36px;
  }

  .footer-main .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    display: block;
  }

  .footer-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta-text {
    font-size: 1.1rem;
  }

  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-cta-actions .btn,
  .footer-cta-actions .btn-outline-light {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .footer-main .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}