/* ===== Footer ===== */
.g8-Footer {
  position: relative;
  /* 1. Background: Changed to solid Dark Navy (#070D59) and removed image/gradient */
  background: #070D59; 
  color: #e6eefb; /* 2. Light text color */
  padding: 70px 0 25px;
  overflow: hidden;
}

.g8-FooterWrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.g8-FooterBrand img {
  max-height: 55px;
  margin-bottom: 1rem;
}
.g8-FooterTagline {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.6;
}

.g8-FooterCol h3.g8-FooterHeading {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #F7B633; /* 3. Orange/Gold Accent */
}

.g8-FooterNav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.g8-FooterNav li {
  margin-bottom: 0.6rem;
}
.g8-FooterNav a {
  color: #e6eefb; /* 4. Light Link Color */
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.g8-FooterNav a:hover {
  color: #F7B633; /* 5. Orange/Gold Accent on hover */
}

.g8-FooterSocial h3 {
  margin-bottom: 1rem;
}
.g8-FooterSocial a {
  display: inline-block;
  margin-right: 12px;
  transition: transform 0.3s ease;
}
.g8-FooterSocial a:hover {
  transform: scale(1.15);
}
.g8-FooterSocial img {
  width: 36px;
  height: 36px;
}

.g8-FooterBottom {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255,255,255,0.1); /* 6. Semi-transparent border */
  padding-top: 20px;
}

.g8-Disclaimer {
  font-size: 0.8rem;
  margin-bottom: 10px;
  opacity: 0.75;
}

/* ---------------------------------- */
/* Copyright Link Specific Styling */
/* ---------------------------------- */
.footer-copyright-link {
    /* Inherit the primary text color */
    color: var(--g8-text-light); 
    /* Use the accent color for hover/focus */
    transition: color 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright-link:hover,
.footer-copyright-link:focus {
    color: #F7B633; /* Using raw hex as variable usage is slightly different here, but it matches the defined --g8-orange */
    text-decoration: underline;
}

/* ================================== */
/* Scroll to Top Button Styling (New) */
/* ================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #F7B633; /* Orange/Gold */
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    /* Control visibility and transition with opacity/display */
    display: none; 
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
    opacity: 0;
}
.scroll-top-btn.show {
    display: flex;
    opacity: 1;
}
.scroll-top-btn:hover {
    background: #e69a2b; /* Darker Orange/Gold */
    transform: translateY(-2px);
}
.scroll-top-btn i {
    width: 20px;
    height: 20px;
    stroke-width: 3;
}


/* Responsive */
@media (max-width: 992px) {
  .g8-FooterWrapper {
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .g8-FooterCol, .g8-FooterBrand, .g8-FooterSocial {
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .g8-FooterWrapper {
    grid-template-columns: 1fr;
  }
}
