/* =========================================================
   SOCIOEDUCATIONS - PROFESSIONAL FOOTER
   Version: 1.0.0
   Desktop + Tablet + Mobile
========================================================= */

/* ---------- Footer Base ---------- */

.se-site-footer,
.site-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.se-site-footer {
    background: #0B1B36;
    color: #FFFFFF;
    overflow: hidden;
}

.se-footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Main Footer ---------- */

.se-footer-main {
    padding: 55px 0 40px;
    background: #10264B;
}

.se-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
    align-items: start;
}

/* ---------- Brand Column ---------- */

.se-footer-brand {
    min-width: 0;
}

.se-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}

.se-footer-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 55px;
    object-fit: contain;
}

.se-footer-site-name {
    margin: 0;
    color: #FFFFFF;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

.se-footer-description {
    max-width: 330px;
    margin: 0;
    color: #C4D0E2;
    font-size: 13px;
    line-height: 1.85;
}

/* ---------- Footer Headings ---------- */

.se-footer-title {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.se-footer-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    border-radius: 3px;
    background: #F59E0B;
    content: "";
}

/* ---------- Footer Links ---------- */

.se-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.se-footer-links li {
    margin: 0 0 12px;
    padding: 0;
}

.se-footer-links a {
    display: inline-block;
    color: #C4D0E2;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s ease, padding .2s ease;
}

.se-footer-links a:hover {
    padding-left: 4px;
    color: #F59E0B;
}

/* ---------- Social Links ---------- */

.se-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.se-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    background: rgba(255,255,255,.06);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.se-footer-social a:hover {
    border-color: #F59E0B;
    background: #F59E0B;
    color: #10264B;
}

/* ---------- Newsletter ---------- */

.se-footer-newsletter {
    margin-top: 22px;
}

.se-footer-newsletter p {
    margin: 0 0 12px;
    color: #C4D0E2;
    font-size: 12px;
    line-height: 1.6;
}

.se-footer-newsletter-form {
    display: flex;
    width: 100%;
    gap: 7px;
}

.se-footer-newsletter-form input[type="email"] {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    outline: none;
    background: rgba(255,255,255,.08);
    color: #FFFFFF;
    font-size: 12px;
}

.se-footer-newsletter-form input::placeholder {
    color: #AAB8CC;
}

.se-footer-newsletter-form button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 13px;
    border: 0;
    border-radius: 6px;
    background: #F59E0B;
    color: #10264B;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

/* ---------- Footer Category Bar ---------- */

.se-footer-category-bar {
    padding: 17px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: #0D2040;
}

.se-footer-category-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 25px;
}

.se-footer-category-links a {
    color: #C4D0E2;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.se-footer-category-links a:hover {
    color: #F59E0B;
}

/* ---------- Footer Bottom ---------- */

.se-footer-bottom {
    padding: 19px 0;
    background: #0B1B36;
}

.se-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.se-footer-copyright {
    margin: 0;
    color: #AAB8CC;
    font-size: 12px;
    line-height: 1.6;
}

.se-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.se-footer-bottom-links a {
    color: #AAB8CC;
    font-size: 12px;
    text-decoration: none;
}

.se-footer-bottom-links a:hover {
    color: #F59E0B;
}

/* ---------- Back to Top ---------- */

.se-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 8px;
    background: #2457C5;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16,38,75,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .2s ease;
}

.se-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.se-back-to-top:hover {
    background: #10264B;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .se-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .se-footer-main {
        padding: 40px 0 30px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .se-footer-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .se-footer-main {
        padding: 32px 0 25px;
    }

    .se-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 27px 18px;
    }

    .se-footer-brand {
        grid-column: 1 / -1;
    }

    .se-footer-site-name {
        font-size: 21px;
    }

    .se-footer-description {
        max-width: 100%;
        font-size: 12px;
    }

    .se-footer-title {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .se-footer-links li {
        margin-bottom: 9px;
    }

    .se-footer-links a {
        font-size: 12px;
    }

    .se-footer-social {
        margin-top: 15px;
    }

    .se-footer-category-links {
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .se-footer-category-links a {
        font-size: 11px;
    }

    .se-footer-bottom {
        padding: 17px 0;
    }

    .se-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .se-footer-copyright {
        font-size: 11px;
    }

    .se-footer-bottom-links {
        gap: 12px;
    }

    .se-footer-bottom-links a {
        font-size: 11px;
    }

    .se-back-to-top {
        right: 13px;
        bottom: 15px;
        width: 39px;
        height: 39px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .se-footer-container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .se-footer-grid {
        gap: 23px 12px;
    }

    .se-footer-title {
        font-size: 13px;
    }

    .se-footer-links a {
        font-size: 11px;
    }

    .se-footer-category-links {
        gap: 10px 13px;
    }
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
    .se-site-footer *,
    .se-site-footer *::before,
    .se-site-footer *::after {
        transition-duration: 0.01ms !important;
    }
}