/*
Theme Name: Astra Child
Template: astra
*/

/* ==================================================
   Insightogram – Modern Professional Footer
================================================== */

.ig-footer {
  background: linear-gradient(135deg, #242A56 0%, #1b2048 100%);
  color: #ffffff;
  padding: 80px 20px 30px;
}

/* Links */
.ig-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Layout */
.ig-footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.2fr;
  gap: 50px;
}

/* =====================
   Brand Section
===================== */

.ig-footer-brand {
  display: flex;
  flex-direction: column;
}

.ig-footer-logo {
  max-width: 190px;
  margin-bottom: 16px;
}

.ig-footer-brand p {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 420px;
}

/* Socials under brand */
.ig-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.ig-footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.9;
}

.ig-footer-socials a:hover {
  background: #6f79ff;
  border-color: #6f79ff;
  opacity: 1;
}

/* =====================
   Column Headings
===================== */

.ig-footer h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
color:white;
}

.ig-footer h4::after {
  content: "";
  width: 32px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -8px;
  border-radius: 2px;
}

/* =====================
   Lists
===================== */

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

.ig-footer ul li {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ig-footer ul li a {
  color: rgba(255,255,255,0.85);
}

.ig-footer ul li a:hover {
  color: #6f79ff;
  transform: translateX(4px);
}

/* =====================
   Footer Bottom
===================== */

.ig-footer-bottom {
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.4px;
}

/* Target Astra's specific widget title classes */
.ig-footer .widget-title,
.ig-footer .widget-title a,
.ig-footer h4.widget-title,
.ig-footer .ast-widget-title {
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block; /* Ensures visibility if it was hidden */
    opacity: 1 !important; /* Forces it to be fully opaque */
}

/* Ensure the underline/after element also shows up */
.ig-footer .widget-title::after,
.ig-footer h4::after {
    content: "";
    width: 32px;
    height: 2px;
    background-color: #6f79ff; /* Adding a color to the underline */
    position: absolute;
    left: 0;
    bottom: -8px;
    border-radius: 2px;
}

/* ==================================================
   RESPONSIVE DESIGN
================================================== */

/* Tablets */
@media (max-width: 992px) {
  .ig-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .ig-footer-brand p {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ig-footer {
    padding: 60px 16px 25px;
  }

  .ig-footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ig-footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .ig-footer ul li {
    justify-content: center;
  }

  .ig-footer-socials {
    justify-content: center;
  }

  .ig-footer-logo {
    margin: 0 auto 14px;
  }
}
