/* ==========================================================================
   Footer contact strip (ComplianceIQ) - #footer-contact; site footer further down
   Same palette as the login / sign-up pages: navy #184b71, ink #12263a,
   muted #6b7280, lines #e4e9f0. One joined bar sitting directly on the footer:
   no gaps between items, divider lines instead, orange accent on top.
   ========================================================================== */

.fc-section {
    padding: 0;
    border-top: 1px solid #f3a07f;
    background: #fff;
}

.fc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: none; /* full width of the page */
    margin: 0;
}

.fc-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 26px 32px;
    border: 0;
    background: transparent;
    color: #12263a;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

    /* Divider between items */
    .fc-card + .fc-card {
        border-left: 1px solid #e4e9f0;
    }

a.fc-card:hover,
a.fc-card:focus {
    background: #f3f7fb;
    outline: none;
}

.fc-card__icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff1ea;
    color: #ee6331;
    font-size: 26px;
}

.fc-card__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.fc-card__label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.fc-card__value {
    color: #12263a;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

    .fc-card__value small {
        color: #6b7280;
        font-size: 14px;
        font-weight: 500;
    }

    .fc-card__value .fa {
        margin-left: 4px;
        color: #ee6331;
        font-size: 16px;
        transition: transform 0.2s ease;
    }

a.fc-card:hover .fc-card__value .fa {
    transform: translateX(3px);
}

/* ==========================================================================
   Site footer (.sf-footer): near-black panel, distinct from the brand navy
   ========================================================================== */

.sf-footer {
    background: linear-gradient(145deg, #1c1f24 0%, #111315 100%);
    color: #c9cdd3;
    font-size: 15px;
}

.sf-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 32px;
    max-width: none;
    margin: 0 auto;
    padding: 40px 40px 32px;
}

.sf-footer .sf-title {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

    .sf-footer .sf-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 36px;
        height: 3px;
        border-radius: 3px;
        background: #ee6331;
    }

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

/* Payment methods */
.sf-payments li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: #e5e7eb;
}

.sf-payments__img {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 34px;
    border-radius: 8px;
    background: #fff;
}

    .sf-payments__img img {
        max-width: 40px;
        max-height: 24px;
    }

/* Important links */
.sf-links li {
    margin-bottom: 10px;
}

.sf-footer .sf-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9cdd3;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .sf-footer .sf-links a::before {
        content: "\f105"; /* fa-angle-right */
        color: #ee6331;
        font-family: FontAwesome;
    }

    .sf-footer .sf-links a:hover,
    .sf-footer .sf-links a:focus {
        color: #fff;
        transform: translateX(3px);
    }

/* Contact info */
.sf-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.sf-contact__icon {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 16px;
}

.sf-contact__heading {
    display: block;
    color: #fff;
    font-weight: 600;
}

.sf-footer .sf-contact a {
    color: #fff;
    text-decoration: none;
}

    .sf-footer .sf-contact a:hover {
        text-decoration: underline;
    }

/* Join our faculty card */
.sf-cta {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.sf-footer .sf-cta__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.sf-cta p {
    margin: 0 0 18px;
    color: #c9cdd3;
    font-size: 14px;
    line-height: 1.6;
}

.sf-footer .sf-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    background: #ee6331;
    box-shadow: 0 6px 18px rgba(238, 99, 49, 0.3);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .sf-footer .sf-cta__btn:hover,
    .sf-footer .sf-cta__btn:focus {
        background: #d9541f;
        color: #fff;
        outline: none;
        transform: translateY(-1px);
    }

/* Copyright bar */
.sf-bottom {
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    font-size: 14px;
    text-align: center;
}

@media only screen and (max-width: 991px) {
    .fc-grid {
        grid-template-columns: 1fr;
    }

    .fc-card {
        justify-content: flex-start;
        padding: 18px 24px;
    }

        .fc-card + .fc-card {
            border-left: 0;
            border-top: 1px solid #e4e9f0;
        }

    .sf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    /* Faculty card spans the full row under the four short columns */
    .sf-grid > .sf-col:last-child {
        grid-column: 1 / -1;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .sf-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 480px) {
    .fc-card {
        padding: 14px 16px;
    }

    .fc-card__value {
        font-size: 17px;
    }

    .sf-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 16px 28px;
    }
}
