/* ========================================
   NEW MODERN FOOTER (OVERWRITE VERSION)
   ======================================== */

.sg-footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0b0d12 100%);
  color: var(--white);
  margin-top: 6rem;
  padding: 70px 70px;
  position: relative;
}

/* Top glow line */
.sg-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary-color),
    transparent
  );
  opacity: 0.3;
}

/* Wrapper */
.sg-footer-wrapper {
  max-width: 100%;
  margin: auto;
}

/* GRID */
.sg-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
}

/* ========================================
   BRAND SECTION
   ======================================== */

.sg-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.sg-footer-logo img {
  height: 120px;
  filter: brightness(1.1);
}

.sg-footer-desc {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 460px;
  font-size: 0.95rem;
}

/* ========================================
   LINKS
   ======================================== */

.sg-footer-col h4 {
  color: var(--secondary-color);
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.4px;
}

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

.sg-footer-col li {
  margin-bottom: 12px;
}

.sg-footer-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: 0.25s ease;
  position: relative;
}

.sg-footer-col a:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

/* ========================================
   SOCIAL LINKS
   ======================================== */

.sg-footer-social {
  display: flex;
  gap: 14px;
}

.sg-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 18px;
  transition: 0.3s ease;
}

.sg-footer-social a:hover {
  background: var(--secondary-color);
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(224, 205, 103, 0.35);
}

/* ========================================
   CONTACT TEXT
   ======================================== */

.sg-footer-col p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  line-height: 1.6;
}

.sg-footer-col p a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.sg-footer-col p a:hover {
  color: var(--secondary-color);
}

/* ========================================
   BOTTOM BAR
   ======================================== */

.sg-footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.sg-footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.sg-footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sg-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  text-decoration: none;
  position: relative;
}

.sg-footer-bottom-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: 0.3s ease;
}

.sg-footer-bottom-links a:hover {
  color: var(--secondary-color);
}

.sg-footer-bottom-links a:hover::after {
  width: 100%;
}

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

@media (max-width: 1000px) {
  .sg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {

  /* Make grid 2 columns for middle sections */
  .sg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    text-align: left;
  }

  /* Brand full width */
  .sg-footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .sg-footer-logo {
    justify-content: center;
  }

  .sg-footer-desc {
    margin: 0 auto 12px auto;
    text-align: center;
  }

  .sg-footer-social {
    justify-content: center;
  }

  /* Contact full width below */
  .sg-footer-col:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }

}
