/* ==========================================================================
   SQUINAL ENTERPRISE FOOTER & CTA STYLES
   ========================================================================== */

:root {
  --sq-ftr-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sq-ftr-bg: #fbfcfd;
  --sq-ftr-border: #eaedf1;
  --sq-ftr-text-title: #0f172a;
  --sq-ftr-text-body: #475569;
  --sq-ftr-text-muted: #64748b;
  --sq-ftr-link-hover: #0066cc;
}

/* ==========================================================================
   1. SEPARATE BEST WORK CTA SECTION (DARK BLACK THEME LIKE PREVIOUS SECTION)
   ========================================================================== */
.sq-best-work-cta-section {
  background-color: #000000 !important;
  color: #ffffff !important;
  padding: 105px 20px 95px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.sq-best-work-cta-title {
  font-family: var(--sq-ftr-font) !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  margin: 0 0 12px 0 !important;
}

.sq-best-work-cta-sub {
  font-family: var(--sq-ftr-font) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
  margin: 0 0 34px 0 !important;
}

.sq-best-work-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #e50914;
  color: #ffffff !important;
  font-family: var(--sq-ftr-font) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em !important;
  padding: 14px 34px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
}

.sq-best-work-cta-btn:hover {
  background-color: #c9000a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.55);
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .sq-best-work-cta-section {
    padding: 65px 15px 55px;
  }
  .sq-best-work-cta-title {
    font-size: 30px !important;
  }
  .sq-best-work-cta-sub {
    font-size: 18px !important;
    margin-bottom: 24px !important;
  }
  .sq-best-work-cta-btn {
    padding: 12px 26px;
    font-size: 12.5px !important;
  }
}

/* ==========================================================================
   2. MAIN 5-COLUMN FOOTER DIRECTORY SECTION
   ========================================================================== */
.sq-main-footer {
  background-color: #fbfcfd;
  color: #334155;
  font-family: var(--sq-ftr-font) !important;
  padding: 70px 0 55px;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.sq-footer-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 36px;
}

@media (max-width: 768px) {
  .sq-footer-container {
    padding: 0 20px;
  }
}

.sq-footer-grid {
  display: grid;
  grid-template-columns: 240px 1.15fr 1fr 1fr 270px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1200px) {
  .sq-footer-grid {
    grid-template-columns: 220px 1fr 1fr 1fr 250px;
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .sq-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
  .sq-footer-col-promos {
    grid-column: span 2;
    display: flex;
    gap: 20px;
  }
  .sq-footer-col-contact {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .sq-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sq-footer-col-promos {
    grid-column: span 1;
    flex-direction: column;
  }
  .sq-footer-col-contact {
    grid-column: span 1;
  }
}

/* LEFT PROMO CARDS */
.sq-footer-col-promos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sq-ftr-promo-card {
  position: relative;
  border-radius: 8px;
  padding: 18px 16px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 142px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sq-ftr-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Blue Promo Card */
.sq-ftr-promo-blue {
  background: #005ce6;
  background: linear-gradient(135deg, #0056e0 0%, #006ef0 100%);
  color: #ffffff;
}

.sq-ftr-promo-blue .sq-ftr-promo-text {
  font-family: var(--sq-ftr-font) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.sq-ftr-promo-blue .sq-ftr-promo-btn {
  background-color: #e50914;
  color: #ffffff !important;
  font-family: var(--sq-ftr-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
  padding: 6px 14px;
  border-radius: 3px;
  width: fit-content;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.sq-ftr-promo-blue-bg-art {
  position: absolute;
  right: 6px;
  bottom: 0px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* Yellow Promo Card */
.sq-ftr-promo-yellow {
  background: #fee789;
  background: linear-gradient(135deg, #ffea88 0%, #fedd60 100%);
  color: #111827;
  border: 1px solid #f6d248;
}

.sq-ftr-promo-yellow .sq-ftr-promo-title {
  font-family: var(--sq-ftr-font) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 3px 0 !important;
  line-height: 1.2 !important;
  position: relative;
  z-index: 2;
}

.sq-ftr-promo-yellow .sq-ftr-promo-desc {
  font-family: var(--sq-ftr-font) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  color: #475569 !important;
  letter-spacing: normal !important;
  margin: 0 0 12px 0 !important;
  position: relative;
  z-index: 2;
}

.sq-ftr-promo-yellow .sq-ftr-promo-btn {
  background-color: #e50914;
  color: #ffffff !important;
  font-family: var(--sq-ftr-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
  padding: 6px 14px;
  border-radius: 3px;
  width: fit-content;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.sq-ftr-promo-yellow-bg-art {
  position: absolute;
  right: 6px;
  bottom: 0px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

/* NAV COLUMNS */
.sq-footer-col {
  display: flex;
  flex-direction: column;
}

.sq-footer-col-accent {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.sq-accent-purple { background: #6366f1; }
.sq-accent-blue { background: #0284c7; }
.sq-accent-rose { background: #8b5cf6; }

.sq-footer-col-title {
  font-family: var(--sq-ftr-font) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 18px 0 !important;
  line-height: 1.2 !important;
}

.sq-footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sq-footer-links-list li {
  margin: 0;
  padding: 0;
}

.sq-footer-links-list a {
  font-family: var(--sq-ftr-font) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #475569 !important;
  text-decoration: none;
  letter-spacing: normal !important;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sq-footer-links-list a:hover {
  color: #0066cc !important;
  transform: translateX(2px);
}

.sq-footer-links-list a .sq-link-arrow {
  font-size: 10px;
  color: #94a3b8;
  margin-left: auto;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sq-footer-links-list a:hover .sq-link-arrow {
  color: #0066cc;
  transform: translateX(2px);
}

/* GET IN TOUCH CARD */
.sq-footer-contact-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 22px 20px 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.sq-footer-contact-title {
  font-family: var(--sq-ftr-font) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 16px 0 !important;
}

.sq-footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}

.sq-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
}

.sq-contact-row i {
  color: #64748b;
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.sq-contact-row a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sq-contact-row a:hover {
  color: #0066cc;
}

.sq-support-portal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7 !important;
  font-family: var(--sq-ftr-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sq-support-portal-btn:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1 !important;
}

/* ==========================================================================
   3. TRUST & CERTIFICATIONS BAR WITH HORIZONTAL DIVIDER LINE
   ========================================================================== */
.sq-trust-cert-section {
  background: #ffffff;
  padding: 44px 0 40px;
  border-bottom: 1px solid #e2e8f0; /* Horizontal line after security badge */
}

.sq-trust-cert-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

@media (max-width: 991px) {
  .sq-trust-cert-wrap {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

.sq-trust-brand-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

@media (max-width: 991px) {
  .sq-trust-brand-side {
    align-items: center;
  }
}

.sq-footer-brand-logo img {
  max-height: 32px;
  width: auto;
  display: block;
}

.sq-trust-tagline {
  font-family: var(--sq-ftr-font) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  line-height: 1.35 !important;
}

.sq-color-trust { color: #0066cc; }
.sq-color-sec { color: #7c3aed; }
.sq-color-impact { color: #0d9488; }

.sq-trust-badges-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

@media (max-width: 991px) {
  .sq-trust-badges-side {
    align-items: center;
  }
}

.sq-trust-subtext {
  font-family: var(--sq-ftr-font) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
}

.sq-trust-badges-img {
  max-height: 48px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .sq-trust-badges-img {
    max-height: 36px;
    max-width: 100%;
  }
}

/* ==========================================================================
   4. SPACIOUS & PROFESSIONAL BOTTOM BAR (SOCIAL + LEGAL + COPYRIGHT)
   ========================================================================== */
.sq-footer-bottom-bar {
  background: #ffffff;
  padding: 48px 0 42px;
  font-family: var(--sq-ftr-font) !important;
}

/* Row 1: Centered Social Icons */
.sq-footer-social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.sq-ftr-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.sq-ftr-social-list li {
  margin: 0;
  padding: 0;
}

.sq-ftr-social-list a {
  color: #334155;
  font-size: 16.5px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sq-ftr-social-list a:hover {
  color: #0066cc;
  transform: translateY(-2px);
}

/* Row 2: Policy Links with Pipes */
.sq-footer-legal-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
}

.sq-ftr-legal-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
}

.sq-ftr-legal-links-list li {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  padding: 0;
}

.sq-ftr-legal-links-list li:not(:last-child)::after {
  content: "|";
  margin-left: 18px;
  color: #cbd5e1;
  font-size: 11px;
}

.sq-ftr-legal-links-list a {
  font-family: var(--sq-ftr-font) !important;
  color: #64748b !important;
  text-decoration: none;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  transition: color 0.2s ease;
}

.sq-ftr-legal-links-list a:hover {
  color: #0066cc !important;
  text-decoration: underline;
}

/* Row 3: Copyright */
.sq-copyright-text {
  font-family: var(--sq-ftr-font) !important;
  font-size: 13px !important;
  color: #64748b !important;
  text-align: center;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.sq-copyright-text strong {
  color: #1e293b;
  font-weight: 600;
}

.sq-copyright-text a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
}

.sq-copyright-text a:hover {
  text-decoration: underline;
}