/**
 * GBC Footer Styles
 * Dark, modern, responsive footer matching the Global Branch Campus specifications.
 * Styled using Emeritus brand color codes and Roboto typography.
 */

:root {
    --em-primary: #00824b;
    --em-accent: #00be6d;
    --em-navy: #11435c;
}

.gbc-footer {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    padding: 30px 0 45px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.5;
}

.gbc-footer *,
.gbc-footer *::before,
.gbc-footer *::after {
    box-sizing: border-box;
    font-family: inherit;
}

.gbc-footer .gbc-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Columns Grid ── */
.gbc-columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px 30px;
    margin-bottom: 45px;
}

.gbc-col {
    /* border-top: 1px solid rgba(255, 255, 255, 0.35); */
    padding-top: 18px;
}

.gbc-col-title {
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    border-bottom: solid 1px #ffffffcc;
    padding-bottom: 10px;
}

.gbc-col-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gbc-col-link-item {
    list-style: none !important;
    margin: 0 0 11px 0 !important;
    padding: 0 !important;
    line-height: 1.4;
}

.gbc-col-link {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.92;
    display: inline-block;
}

.gbc-col-link:hover,
.gbc-col-link:focus {
    color: var(--em-accent, #00be6d) !important;
    opacity: 1;
    /* text-decoration: underline !important; */
}

/* ── Horizontal Divider ── */
.gbc-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 40px 0 32px 0;
}

/* ── Bottom Brand Row ── */
.gbc-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 28px;
}

.gbc-brand-logo-wrap {
    flex-shrink: 0;
    width: 140px;
}

.gbc-brand-logo-link {
    display: inline-block;
    text-decoration: none;
}

.gbc-brand-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

.gbc-brand-text {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

/* ── Legal Links ── */
.gbc-legal-row {
    text-align: center;
    margin: 16px 0;
}

.gbc-legal-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 12px;
    color: #ffffff;
    font-size: 12px;
}

.gbc-legal-link {
    color: #ffffff !important;
    font-size: 12px;
    text-decoration: underline !important;
    opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.gbc-legal-link:hover {
    color: var(--em-accent, #00be6d) !important;
    opacity: 1;
}

.gbc-legal-sep {
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
}

/* ── Copyright ── */
.gbc-copyright-row {
    text-align: center;
    color: #ffffff;
    font-size: 12px;
    margin: 0 0 16px 0;
}

/* ── Social Icons ── */
.gbc-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.gbc-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gbc-social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.gbc-social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.gbc-social-linkedin {
    background-color: #0077b5;
}

.gbc-social-facebook {
    background-color: #3b5998;
}

.gbc-social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.gbc-social-twitter {
    background-color: #1da1f2;
}

.gbc-social-youtube {
    background-color: #cd201f;
}

/* ── Responsive Mobile/Tablet Breakpoints ── */
@media screen and (max-width: 991px) {
    .gbc-footer {
        padding: 30px 0 30px;
    }

    .gbc-columns-grid {
        gap: 30px 30px;
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 767px) {
    .gbc-footer {
        padding: 40px 0 30px;
    }

    .gbc-columns-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gbc-brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .gbc-brand-logo-wrap {
        width: 130px;
    }

    .gbc-brand-text {
        font-size: 11.5px;
    }

    .gbc-legal-links {
        gap: 4px 8px;
    }
}
