/* Foundation subdomain footer: logo + blurb, section links, contact block. */

.fnd-footer {
    background: #050509;
    color: #cfd0da;
    padding: 0;
}

.fnd-footer .footer-top {
    position: relative;
    padding: 70px 0 55px;
}

/* The theme drops an absolutely-positioned ::before over .footer-top, which
   paints above the static content and eats every click. We have no background
   image to show through it, so take it out. */
.fnd-footer .footer-top::before {
    display: none;
}

/* Belt and braces: keep the interactive columns above anything else that
   app.min.css may layer over the footer. */
.fnd-footer .footer-top .container {
    position: relative;
    z-index: 1;
}

.fnd-footer-logo {
    margin-bottom: 22px;
}

.fnd-footer-logo img {
    width: auto;
    height: 42px;
}

.fnd-footer-about {
    margin: 0;
    max-width: 380px;
    font-size: 15px;
    line-height: 1.9;
    color: #a9aab8;
}

.fnd-footer-title {
    margin-bottom: 26px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.fnd-footer-links,
.fnd-footer-contact,
.fnd-footer-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fnd-footer-links li {
    margin-bottom: 14px;
}

.fnd-footer-links a,
.fnd-footer-contact a {
    color: #a9aab8;
    font-size: 15px;
    line-height: 1.7;
    text-decoration: none;
    transition: color .2s ease;
}

.fnd-footer-links a:hover,
.fnd-footer-contact a:hover {
    color: #ffffff;
}

.fnd-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.fnd-footer-icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #c026d3;
    font-size: 17px;
    line-height: 1;
}

.fnd-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.fnd-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #2c2c38;
    border-radius: 50%;
    color: #ffffff;
    font-size: 19px;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.fnd-footer-social a:hover {
    background-color: #c026d3;
    border-color: #c026d3;
    transform: translateY(-2px);
}

.fnd-footer-bottom {
    border-top: 1px solid #1c1c26;
    padding: 22px 0;
}

.fnd-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fnd-footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #8b8c9a;
}

.fnd-footer-policies a {
    margin-left: 26px;
    color: #eb81fd;
    font-size: 14px;
    text-decoration: none;
}

.fnd-footer-policies a:first-child {
    margin-left: 0;
}

.fnd-footer-policies a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {
    .fnd-footer .footer-top {
        padding: 45px 0 35px;
    }

    .fnd-footer-title {
        margin-bottom: 18px;
        font-size: 18px;
    }

    .fnd-footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .fnd-footer-policies a {
        margin: 0 12px;
    }
}

/* Anchor targets for the footer's Explore links: keep the heading clear of the
   sticky header when a link jumps to a section. */
#about,
#programs,
#subjects,
#structure,
#materials,
#why-choose,
#faq,
#enquiry {
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
}
