/* =========================================================
   SMARTCLASS GROUP FOOTER
   File: assets/css/footer.css
========================================================= */

.site-footer {
    position: relative;
    color: #b9ccdf;
    background: #06172e;
}

.footer-main {
    position: relative;
    padding: 78px 0 65px;
    overflow: hidden;
}

.footer-main::before {
    position: absolute;
    top: -170px;
    right: -130px;
    width: 400px;
    height: 400px;
    content: "";
    border: 65px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.footer-main::after {
    position: absolute;
    bottom: -180px;
    left: -150px;
    width: 380px;
    height: 380px;
    content: "";
    background: radial-gradient(
        circle,
        rgba(17, 163, 201, 0.1),
        transparent 68%
    );
    border-radius: 50%;
}

.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 55px;
}

.footer-column {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 22px;
}

.footer-brand img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 60px;
    object-fit: contain;
}

.footer-about > p {
    max-width: 390px;
    margin: 0;
    color: #91a8be;
    font-size: 13px;
    line-height: 1.85;
}

.footer-column h2 {
    position: relative;
    margin: 7px 0 27px;
    padding-bottom: 13px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.footer-column h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, #128bd0, #26cee8);
    border-radius: 10px;
}

.footer-column ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    line-height: 1.4;
}

.footer-column li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 16px;
    color: #9eb3c8;
    font-size: 12px;
    font-weight: 550;
    text-decoration: none;
    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-column li a::before {
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    border-top: 2px solid #1ab8d8;
    border-right: 2px solid #1ab8d8;
    transform: rotate(45deg);
}

.footer-column li a:hover {
    padding-left: 21px;
    color: #5edaf1;
}

.footer-column address {
    margin: 0;
    font-style: normal;
}

.footer-column address p {
    position: relative;
    margin: 0 0 15px;
    padding-left: 20px;
    color: #97adc2;
    font-size: 12px;
    line-height: 1.7;
}

.footer-column address p::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: #20bddb;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(32, 189, 219, 0.09);
}

.footer-column address a {
    color: #a8bed2;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}

.footer-column address a:hover {
    color: #63dff4;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.footer-social a {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    overflow: hidden;
    color: #c5d8e8;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    place-items: center;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-social a:hover {
    color: #ffffff;
    background: #0a86c4;
    border-color: #1eb9da;
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 3;
    background: #041225;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 25px;
}

.footer-bottom p {
    margin: 0;
    color: #7f97af;
    font-size: 11px;
    line-height: 1.6;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-legal a {
    position: relative;
    color: #899fb5;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal a + a::before {
    position: absolute;
    top: 50%;
    left: -12px;
    width: 3px;
    height: 3px;
    content: "";
    background: #536d86;
    border-radius: 50%;
    transform: translateY(-50%);
}

.footer-legal a:hover {
    color: #54d4ed;
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 60px;
    }

    .footer-about > p {
        max-width: 500px;
    }
}

@media (max-width: 700px) {
    .footer-main {
        padding: 60px 0 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-brand {
        margin-bottom: 17px;
    }

    .footer-brand img {
        max-width: 170px;
        height: 55px;
    }

    .footer-column h2 {
        margin-bottom: 21px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        min-height: 100px;
        padding: 23px 0;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .footer-main {
        padding: 50px 0 42px;
    }

    .footer-grid {
        gap: 33px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-legal {
        gap: 17px;
    }

    .footer-legal a + a::before {
        left: -9px;
    }
}


/* =========================================================
   PRINT
========================================================= */

@media print {
    .site-footer {
        display: none !important;
    }
}