/* AFSN Footer */
.afsn-footer {
    background: #0a1f44;
    color: rgba(255,255,255,0.85);
    padding: 60px 40px 0;
    position: relative;
}

.afsn-footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.afsn-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.afsn-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.afsn-footer-logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: contain;
}

.afsn-footer-logo span {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
}

.afsn-footer-logo small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}

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

.afsn-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.afsn-footer-social a:hover {
    background: #c9601a;
    transform: translateY(-3px);
}

.afsn-footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 35px 0;
}

.afsn-footer-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.afsn-footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.afsn-footer-col h5 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0 8px;
}

.afsn-footer-col p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    margin: 0 0 14px;
}

.afsn-footer-col a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.92rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.afsn-footer-col a:hover {
    color: #ff9248;
    padding-left: 5px;
}

.afsn-footer-legal {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.afsn-footer-legal a {
    border: none;
    padding: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.afsn-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
}

.afsn-footer-contact-item i {
    color: #ff9248;
    margin-top: 3px;
    width: 16px;
}

.afsn-footer-email {
    border: none !important;
    padding: 0 !important;
    color: #ff9248 !important;
    font-size: 0.92rem !important;
}


/* Scroll Back to the top */

.afsn-scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #ffffff;      /* was: #c8102e */
  color: #0a2158;            /* icon/text now navy so it reads against white */
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 999;
}

.afsn-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.afsn-scroll-top:hover { background: #f2f2f2; }   /* was: #a30c25 */
.afsn-scroll-top i { font-size: 14px; }
.afsn-scroll-top span { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; }


/* Responsive */
@media (max-width: 900px) {
    .afsn-footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .afsn-footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .afsn-footer {
        padding: 45px 20px 0;
    }
    .afsn-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .afsn-footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 35px;
    }
    .afsn-footer-divider {
        margin: 25px 0;
    }
    .afsn-scroll-top span {
        display: none;
    }
    .afsn-scroll-top {
        padding: 12px;
        border-radius: 50%;
        bottom: 20px;
        left: 20px;
    }
}