/* ==========================================================================
   ASK DIGITAL AGENCY - FOOTER REDESIGN (PRODUCTION GRADE)
   Matching Reference: Premium Black, Neon-Lime Accents, Clean Minimal Aesthetic
   ========================================================================== */

/* Root Footer Container */
.ask-footer-root {
  background-color: #000000 !important;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 9;
  clear: both;
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Primary Footer Wrapper */
.ask-footer-main {
  position: relative;
  background-color: #000000;
  padding: 55px 0 30px 0;
  overflow: hidden;
}

/* Ambient Subtle Dark-Green Background Glow & Curves (Matching Reference) */
.ask-footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.ask-footer-glow-left {
  left: -120px;
  bottom: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(46, 130, 20, 0.22) 0%, rgba(20, 65, 10, 0.08) 50%, transparent 72%);
  filter: blur(40px);
}

.ask-footer-glow-right {
  right: -90px;
  top: 30px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(55, 150, 22, 0.20) 0%, rgba(22, 70, 12, 0.07) 50%, transparent 72%);
  filter: blur(45px);
}

/* Subtle Curved Ambient Planetary Arcs (Bottom Left edge in reference) */
.ask-footer-arc {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.ask-footer-arc-inner {
  left: -90px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(80, 185, 30, 0.16);
  opacity: 0.7;
}

.ask-footer-arc-outer {
  left: -160px;
  bottom: -160px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(80, 185, 30, 0.09);
  opacity: 0.5;
}

/* Content Container */
.ask-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   TOP FOOTER GRID: Brand + 3 Useful Links Columns + Contact Card
   -------------------------------------------------------------------------- */
.ask-footer-top-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 0.95fr 1.35fr;
  gap: 28px;
  align-items: start;
}

/* Brand Column */
.ask-footer-brand-col {
  padding-right: 15px;
}

.ask-footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ask-footer-logo-link:hover {
  opacity: 0.9;
}

.ask-footer-logo-img {
  max-height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.ask-footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #c4c4c4;
  margin: 0 0 24px 0;
  max-width: 295px;
  font-weight: 400;
}

/* Social Icons Row */
.ask-footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ask-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

/* Regular Social Outline Buttons */
.ask-social-circle {
  border: 1.2px solid rgba(255, 255, 255, 0.45);
  background-color: transparent;
  color: #ffffff;
}

.ask-social-circle:hover {
  border-color: #8fff00;
  color: #8fff00;
  background-color: rgba(143, 255, 0, 0.08);
  transform: translateY(-2px);
}

.ask-social-circle svg {
  display: block;
  transition: transform 0.2s ease;
}

.ask-social-circle .ask-social-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.ask-social-circle:hover svg {
  transform: scale(1.08);
}

/* Golden 5th Icon (Star / GoodFirms Rating Badge) */
.ask-social-star {
  background: #b58014;
  border: 1.2px solid #d4951b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(181, 128, 20, 0.35);
}

.ask-social-star:hover {
  background: #cf9319;
  border-color: #f0ad25;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(207, 147, 25, 0.5);
}

.ask-social-star svg {
  display: block;
}

/* --------------------------------------------------------------------------
   USEFUL LINKS COLUMNS (Columns 2, 3, 4)
   -------------------------------------------------------------------------- */
.ask-footer-links-col {
  position: relative;
  padding-right: 20px;
}

/* Thin vertical divider on right of each link column */
.ask-footer-links-col::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: calc(100% - 6px);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Heading & Neon-Lime Accent Line */
.ask-footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 7px 0;
  letter-spacing: -0.2px;
}

.ask-footer-heading-bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #8fff00;
  border-radius: 2px;
  margin-bottom: 22px;
}

/* Links List with Neon-Lime Bullets */
.ask-footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ask-footer-links-list li {
  margin-bottom: 13px;
  position: relative;
  display: flex;
  align-items: center;
}

.ask-footer-links-list li:last-child {
  margin-bottom: 0;
}

.ask-footer-links-list li a {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

/* Neon-Lime Bullet Point */
.ask-footer-links-list li a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #8fff00;
  border-radius: 50%;
  margin-right: 11px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ask-footer-links-list li a:hover {
  color: #8fff00;
  transform: translateX(3px);
}

.ask-footer-links-list li a:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(143, 255, 0, 0.8);
}

/* --------------------------------------------------------------------------
   CONTACT CARD (Far Right of Top Area)
   -------------------------------------------------------------------------- */
.ask-footer-contact-card {
  position: relative;
  background: rgba(7, 12, 7, 0.85);
  border: 1px solid rgba(143, 255, 0, 0.42);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(143, 255, 0, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ask-footer-contact-card:hover {
  border-color: rgba(143, 255, 0, 0.65);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), inset 0 0 25px rgba(143, 255, 0, 0.06);
}

.ask-footer-card-heading {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 7px 0;
  letter-spacing: -0.2px;
}

.ask-footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ask-contact-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.ask-contact-address-row {
  align-items: flex-start;
}

/* Circular Neon-Lime Icon Badges */
.ask-contact-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #8fff00;
  color: #000000;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(143, 255, 0, 0.35);
}

.ask-contact-icon-badge svg {
  display: block;
}

.ask-contact-link {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.ask-contact-link:hover {
  color: #8fff00;
}

.ask-contact-address {
  color: #ffffff;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 400;
  font-style: normal;
  margin: 0;
}

/* --------------------------------------------------------------------------
   HORIZONTAL DIVIDER
   -------------------------------------------------------------------------- */
.ask-footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin: 38px 0 34px 0;
}

/* --------------------------------------------------------------------------
   SEO / RESOURCE LINKS SECTION (3 Balanced Columns)
   -------------------------------------------------------------------------- */
.ask-footer-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ask-footer-resource-col {
  position: relative;
  padding-right: 24px;
}

/* Vertical divider between resource columns (except the last one) */
.ask-footer-resource-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: calc(100% - 6px);
  background-color: rgba(255, 255, 255, 0.12);
}

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

.ask-footer-resource-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.ask-footer-resource-list li:last-child {
  margin-bottom: 0;
}

.ask-footer-resource-list li a {
  display: inline-flex;
  align-items: center;
  color: #d6d6d6;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Neon-Lime Bullet Point for Resource Links */
.ask-footer-resource-list li a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #8fff00;
  border-radius: 50%;
  margin-right: 11px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ask-footer-resource-list li a:hover {
  color: #8fff00;
  transform: translateX(3px);
}

.ask-footer-resource-list li a:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(143, 255, 0, 0.8);
}

/* --------------------------------------------------------------------------
   BOTTOM COPYRIGHT BAR (Rounded Box / Pill Shape Matching Reference)
   -------------------------------------------------------------------------- */
.ask-footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  margin-bottom: 12px;
  padding: 16px 36px;
  background: rgba(9, 13, 9, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-sizing: border-box;
}

.ask-footer-copyright-text {
  font-size: 14px;
  color: #e5e5e5;
  font-weight: 400;
  letter-spacing: -0.1px;
}

.ask-footer-bottom-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.ask-bottom-nav-divider {
  display: block;
  flex: 0 0 1px;
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.28);
  margin: 0 16px;
  font-size: 0;
  line-height: 0;
}

.ask-bottom-nav-link {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ask-bottom-nav-link:hover {
  color: #8fff00;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE)
   -------------------------------------------------------------------------- */

/* Large Tablet / Small Desktop (992px to 1199px) */
@media (max-width: 1199px) {
  .ask-footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .ask-footer-brand-col {
    grid-column: span 2;
    padding-right: 0;
  }

  .ask-footer-brand-desc {
    max-width: 100%;
  }

  .ask-footer-contact-card {
    grid-column: span 1;
    max-width: 100%;
  }

  .ask-footer-links-col:nth-child(3)::after,
  .ask-footer-links-col:nth-child(4)::after {
    display: none;
  }

  .ask-footer-resources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Tablet (768px to 991px): 2-Column Layout */
@media (max-width: 991px) {
  .ask-footer-main {
    padding: 45px 0 30px 0;
  }

  .ask-footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .ask-footer-brand-col {
    grid-column: span 2;
  }

  .ask-footer-contact-card {
    grid-column: span 2;
    max-width: 100%;
  }

  .ask-footer-links-col:nth-child(odd)::after {
    display: block;
  }

  .ask-footer-links-col:nth-child(even)::after {
    display: none;
  }

  .ask-footer-resources-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .ask-footer-resource-col:nth-child(2)::after {
    display: none;
  }

  .ask-footer-bottom-bar {
    padding: 16px 24px;
  }
}

/* Mobile Devices (< 768px): Clean Stacked Layout */
@media (max-width: 767px) {
  .ask-footer-main {
    padding: 38px 0 25px 0;
  }

  .ask-footer-top-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .ask-footer-brand-col {
    padding-right: 0;
  }

  .ask-footer-brand-desc {
    max-width: 100%;
    font-size: 14px;
    margin-bottom: 20px;
  }

  .ask-footer-links-col {
    padding-right: 0;
    width: 100%;
  }

  .ask-footer-links-col::after {
    display: none !important;
  }

  .ask-footer-contact-card {
    width: 100%;
    box-sizing: border-box;
    padding: 22px 20px;
  }

  .ask-footer-divider {
    margin: 28px 0 24px 0;
  }

  .ask-footer-resources-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .ask-footer-resource-col {
    padding-right: 0;
  }

  .ask-footer-resource-col::after {
    display: none !important;
  }

  .ask-footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 16px;
  }

  .ask-footer-bottom-nav {
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0;
  }

  .ask-bottom-nav-divider {
    margin: 0 8px;
  }
}
