/* ======================================================================
   Footer visual polish -- layered on top of the base footer rules already
   defined in adc.css (.site-footer, .footer-main, .social-circle, etc).
   This file only adds refinement (brand row, card treatment for the
   institutions grid, icon badges, column dividers, trust badges, hover
   polish); it does not change any link targets or remove any existing
   content beyond what was explicitly asked for.
   Loaded after adc.css/mdc.css so these rules win without needing !important.
   ====================================================================== */

.site-footer {
    position: relative;
    background: radial-gradient(1100px 420px at 12% -10%, rgba(212,175,55,.10), transparent 60%),
                radial-gradient(900px 380px at 100% 0%, rgba(0,180,255,.08), transparent 55%),
                linear-gradient(180deg, #000 0%, #060606 100%);
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-strong);
    z-index: 2;
}

.footer-main { padding: 0 0 44px; position: relative; z-index: 1; }

/* ---- brand row: logo + one-line identity statement above the columns ---- */
.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 42px 0 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand-logo { height: 44px; width: auto; flex: 0 0 auto; }
.footer-brand-tagline {
    margin: 0;
    color: #a3a3a3;
    font-size: .95rem;
    line-height: 1.6;
    max-width: 620px;
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 576px) {
    .footer-brand-tagline { padding-left: 0; border-left: none; }
}

/* ---- section headings: refined eyebrow-dash style instead of full underline bar ---- */
.footer-main h5 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    margin-bottom: 22px;
}
.footer-main h5::after { display: none; }
.footer-main h5::before {
    content: "";
    width: 22px;
    height: 2px;
    flex: 0 0 auto;
    background: var(--grad-strong);
    display: inline-block;
}

/* ---- vertical dividers between columns on wide screens ---- */
@media (min-width: 992px) {
    .footer-col { position: relative; }
    .footer-col:not(.footer-col-last)::after {
        content: "";
        position: absolute;
        top: 6px;
        bottom: 6px;
        right: -12px;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255,255,255,.16), transparent);
    }
}

/* ---- Get In Touch: icon-badge rows instead of plain inline icon+text ---- */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b9b9b9 !important;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 12px !important;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.footer-contact-item:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(212,175,55,.35);
    transform: translateX(3px);
}
.footer-contact-item i {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,.14);
    color: var(--gold, #d4af37);
    font-size: .85rem;
    margin: 0 !important;
}

/* ---- social icons: gradient fill + lift on hover ---- */
.social-icons { margin-top: 24px; }
.social-circle {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
}
.social-circle:hover {
    background: var(--grad-strong);
    border-color: transparent;
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 22px rgba(0,180,255,.25);
}
.social-circle:hover i { color: #06120c; }

/* ---- newsletter: premium bordered card instead of a bare input ---- */
.newsletter {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 18px 18px 20px;
}
.newsletter-label { color: #cfcfcf; font-weight: 500; }
.newsletter-group input:focus {
    outline: none;
    border-color: rgba(212,175,55,.5);
    box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}

/* ---- Institutions: two-column grid of cards -- comfortable, not cramped ---- */
.footer-institutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    align-items: start;
}
.footer-campus {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 15px 17px 12px;
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.footer-campus:hover {
    border-color: rgba(212,175,55,.32);
    background: rgba(255,255,255,.05);
    transform: translateY(-2px);
}
.footer-campus strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold, #d4af37) !important;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-campus strong i { font-size: .76rem; opacity: .9; }
.footer-campus a { font-size: .86rem; margin-bottom: 7px; line-height: 1.4; }
.footer-campus a:last-child { margin-bottom: 0; }

/* ---- bottom strip: trust badges + copyright ---- */
.footer-bottom {
    background: #000;
    border-top: 1px solid rgba(255,255,255,.08);
    position: relative;
    z-index: 1;
    padding: 28px 0 22px;
}
.footer-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-trust-strip img {
    height: 30px;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    opacity: .82;
    transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
}
.footer-trust-strip img:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(212,175,55,.18);
}
.footer-copy { letter-spacing: .02em; }

/* Institutions stays two columns down to phone width -- only the very
   narrowest screens fall back to one column so long college names don't
   get crushed unreadably. */
@media (max-width: 460px) {
    .footer-institutions-grid { grid-template-columns: 1fr; }
    .footer-campus strong { justify-content: flex-start; }
}

@media (max-width: 576px) {
    .footer-brand-row { padding: 32px 0 22px; margin-bottom: 24px; }
    .footer-brand-logo { height: 36px; }
    .footer-contact-item { padding: 9px 12px; }
    .footer-trust-strip img { height: 24px; padding: 5px 9px; }
}
