/* ==========================================================================
   Global Footer Section (Bootstrap 5 Integrated, Exact Figma Spec Matched)
   Matching Figma Nodes: 78:41 (Black #1E1E1E Bg), 78:42 (Blue #2A3EC0 Card), 78:43-99
   ========================================================================== */

.gr-footer-wrapper {
    width: 100%;
    /* Gradient: Top 85px is pure White, lower portion is dark Black #1E1E1E */
    background: linear-gradient(180deg, #FFFFFF 0px, #FFFFFF 85px, #1E1E1E 85px, #1E1E1E 100%);
    padding: 0 0 32px 0;
    position: relative;
    box-sizing: border-box;
}

.gr-footer-container {
    max-width: 1600px;
    padding-left: 31px;
    padding-right: 31px;
    margin: 0 auto;
}

/* Primary Royal Blue Card (Node 78:42: 1437px x 516px, #2A3EC0) */
.gr-footer-blue-card {
    width: 100%;
    background-color: var(--gr-primary-blue, #2A3EC0);
    color: #FFFFFF;
    padding: 56px 64px 44px 64px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Underlined Headings (Figma Nodes 78:43, 78:80, 78:82, 78:88, 78:97) */
.gr-footer-heading {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    line-height: 1.25;
    margin: 0 0 18px 0;
    letter-spacing: 0;
}

/* ==========================================================================
   Column 1: Brand & Contact Info (Nodes 78:43, 78:44)
   ========================================================================== */
.gr-footer-brand-col {
    max-width: 300px;
}

.gr-footer-brand-title {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    line-height: 1.25;
    margin: 0 0 18px 0;
    letter-spacing: 0;
    max-width: 290px;
}

.gr-footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #FFFFFF;
    max-width: 290px;
}

.gr-footer-contact-info p {
    margin: 0;
}

.gr-footer-contact-info a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.gr-footer-contact-info a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* ==========================================================================
   Navigation Lists (Columns 2, 3, 4)
   ========================================================================== */
.gr-footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gr-footer-link {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: inline-block;
    letter-spacing: 0;
}

.gr-footer-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.gr-footer-about-group {
    margin-top: 28px;
}

.gr-footer-news-group {
    margin-top: 42px; /* Aligns News & Events links level with About College */
}

/* ==========================================================================
   Bottom Row: Social Icons (78:45-51) & Vector 10 Divider Line (78:95)
   ========================================================================== */
.gr-footer-mid-row {
    margin-top: 36px;
}

.gr-footer-social-icons {
    padding-right: 20px;
}

.gr-footer-social-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gr-footer-social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.gr-footer-social-icon svg {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
}

/* Vector 10 White Line Divider */
.gr-footer-mid-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Bottom Copyright & Agency Credits (Nodes 78:98, 78:99)
   ========================================================================== */
.gr-footer-bottom {
    padding-top: 20px;
    padding-left: 8px;
    padding-right: 8px;
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 13px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.4;
}

.gr-footer-bottom a {
    color: #FFFFFF;
    text-decoration: none;
}

.gr-footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .gr-footer-blue-card {
        padding: 40px 30px 30px 30px;
    }

    .gr-footer-news-group {
        margin-top: 20px;
    }

    .gr-footer-about-group {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .gr-footer-wrapper {
        background: #1E1E1E;
        padding-bottom: 24px;
    }

    .gr-footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gr-footer-blue-card {
        padding: 30px 20px 20px 20px;
    }

    .gr-footer-mid-row {
        gap: 16px;
    }

    .gr-footer-bottom {
        flex-direction: column;
        gap: 8px; text-align: center;align-items: center;
    }
}
