/* =========================================================
   BRUDER KLAUS SCHOOL - PREMIUM FOOTER CSS
   File: footer.css
========================================================= */


/* =========================
   BRAND VARIABLES
========================= */

:root {

    --bks-navy: #0D0B61;
    --bks-navy-dark: #080742;
    --bks-navy-light: #16147A;

    --bks-white: #ffffff;

    --bks-gold: #F4CE14;
    --bks-gold-light: #ffe66a;

}


/* =========================
   FOOTER RESET
========================= */

.bks-footer,
.bks-footer *,
.bks-footer *::before,
.bks-footer *::after {

    box-sizing: border-box;

}


.bks-footer a {

    text-decoration: none;

}


.bks-footer ul {

    list-style: none;

    padding: 0;

    margin: 0;

}


/* =========================
   MAIN FOOTER
========================= */

.bks-footer-main {

    position: relative;

    overflow: hidden;

    color: var(--bks-white);

    background:
        linear-gradient(
            135deg,
            #0D0B61 0%,
            #100D6B 45%,
            #080742 100%
        );

}


/* subtle premium radial lights */

.bks-footer-main::before {

    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    left: -220px;
    top: -280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,206,20,0.08),
            transparent 65%
        );

    pointer-events: none;

}


.bks-footer-main::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -220px;
    bottom: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.05),
            transparent 65%
        );

    pointer-events: none;

}


/* =========================
   FOOTER CONTAINER
========================= */

.bks-footer-container {

    width: min(100% - 60px, 1680px);

    margin: auto;

    min-height: 575px;

    padding: 50px 0 55px;

    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr
        1.05fr
        0.95fr;

    gap: 70px;

    position: relative;

    z-index: 2;

}


/* =========================
   FOOTER COLUMNS
========================= */

.bks-footer-column {

    position: relative;

}


/* =========================
   FOOTER LOGO
========================= */

.bks-footer-logo {

    display: inline-flex;

    width: 235px;
    height: 235px;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    position: relative;

}


.bks-footer-logo::before {

    content: "";

    position: absolute;

    inset: 5px;

    border-radius: 50%;

    border: 1px solid rgba(244,206,20,0.3);

    box-shadow:
        0 0 35px rgba(244,206,20,0.08);

}


.bks-footer-logo img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 8px 20px
            rgba(0,0,0,0.2)
        );

    transition:
        transform 0.5s ease,
        filter 0.5s ease;

}


.bks-footer-logo:hover img {

    transform: scale(1.04) rotate(1deg);

    filter:
        drop-shadow(
            0 0 20px
            rgba(244,206,20,0.22)
        );

}


/* =========================
   DESCRIPTION
========================= */

.bks-footer-description {

    max-width: 410px;

    margin: 0 0 30px;

    color: rgba(255,255,255,0.88);

    font-size: 17px;

    line-height: 1.95;

}


/* =========================
   FOOTER TITLES
========================= */

.bks-footer-title {

    margin: 0 0 32px;

    color: var(--bks-white);

    font-size: 28px;

    line-height: 1.2;

    font-weight: 800;

    position: relative;

}


.bks-footer-title::after {

    content: "";

    display: block;

    width: 48px;

    height: 3px;

    margin-top: 12px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--bks-gold),
            var(--bks-gold-light)
        );

    box-shadow:
        0 0 12px rgba(244,206,20,0.35);

}


/* =========================
   FOOTER LINKS
========================= */

.bks-footer-links {

    display: flex;

    flex-direction: column;

    gap: 17px;

}


.bks-footer-links li a {

    display: inline-flex;

    align-items: center;

    color: rgba(255,255,255,0.88);

    font-size: 17px;

    line-height: 1.5;

    transition:
        color 0.3s ease,
        transform 0.3s ease;

}


.bks-footer-links li a::before {

    content: "›";

    color: var(--bks-gold);

    font-size: 22px;

    margin-right: 9px;

    opacity: 0;

    transform: translateX(-7px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

}


.bks-footer-links li a:hover {

    color: var(--bks-gold);

    transform: translateX(5px);

}


.bks-footer-links li a:hover::before {

    opacity: 1;

    transform: translateX(0);

}


/* =========================
   CONTACT
========================= */

.bks-contact-list {

    display: flex;

    flex-direction: column;

    gap: 26px;

}


.bks-contact-item {

    display: grid;

    grid-template-columns: 30px 1fr;

    gap: 10px;

    align-items: start;

}


.bks-contact-icon {

    color: var(--bks-gold);

    font-size: 21px;

    padding-top: 2px;

    filter:
        drop-shadow(
            0 0 8px
            rgba(244,206,20,0.2)
        );

}


.bks-contact-text {

    color: rgba(255,255,255,0.90);

    font-size: 17px;

    line-height: 1.72;

}


.bks-contact-text a {

    color: rgba(255,255,255,0.90);

    transition: color 0.3s ease;

}


.bks-contact-text a:hover {

    color: var(--bks-gold);

}


/* =========================
   FOOTER SOCIAL ICONS
========================= */

.bks-footer-social {

    display: flex;

    align-items: center;

    gap: 16px;

}


.bks-social-link {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--bks-white);

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.07);

    font-size: 20px;

    position: relative;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;

}


.bks-social-link::before {

    content: "";

    position: absolute;

    width: 80px;
    height: 80px;

    top: -100px;
    left: -100px;

    background:
        linear-gradient(
            135deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transform: rotate(25deg);

    transition: 0.6s ease;

}


.bks-social-link:hover {

    transform:
        translateY(-7px);

    background:
        rgba(244,206,20,0.16);

    color: var(--bks-gold);

    border-color:
        rgba(244,206,20,0.45);

    box-shadow:
        0 10px 25px
        rgba(0,0,0,0.2),
        0 0 18px
        rgba(244,206,20,0.15);

}


.bks-social-link:hover::before {

    top: 100px;
    left: 100px;

}


/* =========================
   FOOTER BOTTOM
========================= */

.bks-footer-bottom {
    background: #0D0B5F !important;
    opacity: 1 !important;
    position: relative;
    z-index: 5;
    isolation: isolate;
}

.bks-footer-bottom-inner {

    width: min(100% - 60px, 1680px);

    min-height: 105px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.bks-copyright {

    color:
        rgba(255,255,255,0.75);

    font-size: 16px;

}


.bks-footer-bottom-links {

    display: flex;

    align-items: center;

    gap: 32px;

}


.bks-footer-bottom-links a {

    color:
        rgba(255,255,255,0.90);

    font-size: 16px;

    font-weight: 600;

    transition:
        color 0.3s ease;

}


.bks-footer-bottom-links a:hover {

    color: var(--bks-gold);

}


/* =========================================================
   FLOATING ACTION RAIL
========================================================= */

.bks-floating-actions {

    position: fixed;

    right: 18px;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10000;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 9px;

}


/* =========================
   SOCIAL FLOATING BUTTON
========================= */

.bks-floating-social {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: var(--bks-white);

    background: #fb1c1c;

    border:
        1px solid
        rgba(244,206,20,0.25);

    box-shadow:
        0 10px 25px
        rgba(13,11,97,0.25);

    position: relative;

    overflow: hidden;

    transition:
        width 0.4s ease,
        transform 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;

}


.bks-floating-social::before {

    content: "";

    position: absolute;

    top: -100%;
    left: -100%;

    width: 60%;
    height: 250%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transform: rotate(25deg);

    transition: left 0.6s ease;

}


.bks-floating-social:hover {

    width: 145px;

    color: var(--bks-white);

    transform:
        translateX(-3px);

    box-shadow:
        0 12px 30px
        rgba(13,11,97,0.30),
        0 0 20px
        rgba(244,206,20,0.12);

}


.bks-floating-social:hover::before {

    left: 160%;

}


.bks-floating-social i {

    position: absolute;

    left: 18px;

    font-size: 22px;

    flex-shrink: 0;

}


.bks-floating-social span {

    position: absolute;

    right: 18px;

    opacity: 0;

    transform: translateX(10px);

    font-size: 13px;

    font-weight: 700;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}


.bks-floating-social:hover span {

    opacity: 1;

    transform: translateX(0);

}


/* =========================
   ADMISSION FLOATING BUTTON
========================= */

.bks-floating-admission {

    min-width: 52px;
    height: 52px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border-radius: 15px;

    color: var(--bks-navy);

    background:
        linear-gradient(
            135deg,
            var(--bks-gold),
            var(--bks-gold-light)
        );

    font-size: 13px;

    font-weight: 800;

    box-shadow:
        0 10px 28px
        rgba(244,206,20,0.30);

    position: relative;

    overflow: hidden;

    animation:
        bksAdmissionPulse 3s infinite;

}


.bks-floating-admission::before {

    content: "";

    position: absolute;

    width: 40px;
    height: 120px;

    left: -80px;

    top: -20px;

    background:
        rgba(255,255,255,0.45);

    transform: rotate(25deg);

    animation:
        bksAdmissionShine 4s infinite;

}


@keyframes bksAdmissionShine {

    0% {
        left: -80px;
    }

    30% {
        left: 160%;
    }

    100% {
        left: 160%;
    }

}


@keyframes bksAdmissionPulse {

    0%,
    100% {
        box-shadow:
            0 10px 28px
            rgba(244,206,20,0.28);
    }

    50% {
        box-shadow:
            0 12px 35px
            rgba(244,206,20,0.48);
    }

}


.bks-floating-admission:hover {

    transform:
        translateX(-4px)
        translateY(-2px);

}

/* =========================================================
   GLASSY HANGING BACK-TO-TOP BUTTON
========================================================= */

.bks-back-to-top {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border: 1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 15px;

    color: var(--bks-white);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.16),
            rgba(13, 11, 97, 0.72)
        );

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    box-shadow:
        0 12px 30px
        rgba(4, 3, 48, 0.30),
        inset 0 1px 0
        rgba(255, 255, 255, 0.22),
        inset 0 -1px 0
        rgba(255, 255, 255, 0.06);

    cursor: pointer;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

}


/* GLASS SHINE */

.bks-back-to-top::before {

    content: "";

    position: absolute;

    top: -70%;

    left: -80%;

    width: 55%;

    height: 220%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.30),
            transparent
        );

    transform:
        rotate(25deg);

    transition:
        left 0.7s ease;

}


/* SHOW BUTTON */

.bks-back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


/* HOVER */

.bks-back-to-top:hover {

    color: var(--bks-gold);

    border-color:
        rgba(244, 206, 20, 0.45);

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 35px
        rgba(4, 3, 48, 0.38),
        0 0 22px
        rgba(244, 206, 20, 0.16),
        inset 0 1px 0
        rgba(255, 255, 255, 0.28);

}


.bks-back-to-top:hover::before {

    left: 160%;

}


/* ARROW */

.bks-back-to-top i {

    position: relative;

    z-index: 2;

    font-size: 16px;

    transition:
        transform 0.3s ease;

}


.bks-back-to-top:hover i {

    transform:
        translateY(-3px);

}

/* =========================================================
   LARGE LAPTOP
========================================================= */

@media (max-width: 1450px) {

    .bks-footer-container {

        width: min(100% - 40px, 1400px);

        gap: 45px;

    }


    .bks-footer-logo {

        width: 190px;
        height: 190px;

    }


    .bks-footer-description,
    .bks-footer-links li a,
    .bks-contact-text {

        font-size: 15px;

    }


    .bks-footer-title {

        font-size: 25px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .bks-footer-container {

        grid-template-columns:
            1fr 1fr;

        gap: 55px 45px;

        min-height: auto;

    }


    .bks-footer-brand {

        grid-column: span 2;

    }


    .bks-footer-logo {

        width: 170px;
        height: 170px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .bks-footer-container {

        width: calc(100% - 30px);

        display: grid;

        grid-template-columns: 1fr;

        gap: 45px;

        padding:
            45px 0 50px;

    }


    .bks-footer-brand {

        grid-column: auto;

    }


    .bks-footer-logo {

        width: 145px;
        height: 145px;

    }


    .bks-footer-description {

        font-size: 15px;

        line-height: 1.8;

    }


    .bks-footer-title {

        font-size: 23px;

        margin-bottom: 24px;

    }


    .bks-footer-links {

        gap: 13px;

    }


    .bks-footer-links li a {

        font-size: 15px;

    }


    .bks-contact-list {

        gap: 21px;

    }


    .bks-contact-text {

        font-size: 15px;

    }


    .bks-footer-bottom {

        min-height: auto;

    }


    .bks-footer-bottom-inner {

        width: calc(100% - 30px);

        min-height: auto;

        padding: 25px 0;

        flex-direction: column;

        text-align: center;

        gap: 20px;

    }


    .bks-copyright {

        font-size: 13px;

        line-height: 1.6;

    }


    .bks-footer-bottom-links {

        flex-wrap: wrap;

        justify-content: center;

        gap: 14px 22px;

    }


    .bks-footer-bottom-links a {

        font-size: 13px;

    }


    /* Floating rail becomes bottom dock */

    .bks-floating-actions {

        top: auto;

        bottom: 15px;

        right: 12px;

        left: 12px;

        transform: none;

        flex-direction: row;

        justify-content: center;

        align-items: center;

        gap: 7px;

    }


    .bks-floating-social,
.bks-back-to-top {

    width: 43px;

    height: 43px;

    border-radius: 12px;

}


    .bks-floating-social:hover {

        width: 43px;

    }


    .bks-floating-social span {

        display: none;

    }


    .bks-floating-social i {

        font-size: 16px;

    }


    .bks-floating-admission {

        height: 43px;

        min-width: 43px;

        padding: 0 13px;

        border-radius: 12px;

        font-size: 11px;

    }


    .bks-floating-admission i {

        font-size: 15px;

    }


    .bks-back-to-top {

        font-size: 14px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .bks-floating-actions {

        gap: 4px;

    }


    .bks-floating-social,
    .bks-back-to-top {

        width: 39px;
        height: 39px;

    }


    .bks-floating-admission {

        min-width: 39px;

        height: 39px;

        padding: 0 9px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bks-footer *,
    .bks-footer *::before,
    .bks-footer *::after {

        animation: none !important;

        transition: none !important;

    }

}

