/* ==========================================================
   SSPKM – top bar + footer redesign (loaded last)
   ========================================================== */

/* ---------------- shared social buttons ---------------- */
.soc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
    transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}

.soc-btn i {
    margin: 0 !important;
    color: inherit !important;
}

.soc-btn:hover {
    transform: translateY(-4px) scale(1.08);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
}

.soc-fb:hover {
    background: #1877f2;
}

.soc-ig:hover {
    background: linear-gradient(45deg, #f9a03c, #e1306c 55%, #833ab4);
}

.soc-yt:hover {
    background: #ff0000;
}

/* ---------------- top bar ---------------- */
header .top-header {
    background: linear-gradient(100deg, #0b1f3a 0%, #173e6b 55%, #1f4a80 100%) !important;
    background-size: 100% 100% !important;
    animation: none !important;
    padding: 7px 0 !important;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

header .top-header::after {
    /* thin animated accent line */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
    background-size: 200% 100%;
    animation: barShift 5s linear infinite alternate;
}

.sticky .top-header {
    padding: 0 !important;
}

header .top-header>[class*='col-'] {
    display: flex;
    align-items: center;
    min-height: 34px;
}

header .top-header .social {
    justify-content: flex-end;
}

header .top-header a.tb-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 10px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff !important;
    opacity: 1 !important;
    transition: background .3s, transform .3s var(--ease), border-color .3s;
}

header .top-header a.tb-chip i {
    color: var(--accent-2);
    transition: transform .3s var(--ease);
}

header .top-header a.tb-chip:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

header .top-header a.tb-chip:hover i {
    color: #fff;
    transform: rotate(-12deg) scale(1.15);
}

header .top-header a.soc-btn {
    display: inline-flex !important;
}

footer .footer-column-content {
    max-width: 260px;
}

footer .col-md-3:nth-child(2) .footer-column-content {
    max-width: none;
}

header .top-header .soc-btn {
    width: 30px;
    height: 30px;
    font-size: 13px;
}

header .top-header .soc-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ---------------- footer ---------------- */
footer {
    background:
        radial-gradient(900px 380px at 12% -10%, rgba(58, 124, 202, .35), transparent 60%),
        radial-gradient(700px 320px at 95% 105%, rgba(249, 88, 60, .18), transparent 60%),
        linear-gradient(170deg, #0a1c33 0%, #102f55 55%, #173e6b 100%) !important;
    color: #c9d7ea !important;
    padding-top: 64px !important;
    margin-top: 0;
}

footer::before {
    height: 4px;
}

footer .container>.row {
    display: flex;
    flex-wrap: wrap;
}

footer .container>.row>[class*='col-'] {
    float: none;
}

footer .text-center img {
    width: 128px !important;
    padding: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    filter: none !important;
    transition: transform .5s var(--ease);
}

footer .text-center img:hover {
    transform: rotate(-6deg) scale(1.06);
}

footer .address {
    margin-top: 14px;
}

footer .address li {
    color: #c9d7ea;
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
}

footer h3 {
    font-size: 17px;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 6px 0 18px;
    padding-bottom: 12px;
}

footer h3::after {
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

footer .footer-column-content {
    margin: 0 auto;
}

footer ul li a {
    position: relative;
    padding: 7px 0 !important;
    font-size: 14.5px;
    color: #c9d7ea !important;
}

/* link list: little arrow that slides in */
footer .col-md-3:nth-child(3) ul li a {
    padding-left: 0 !important;
}

footer .col-md-3:nth-child(3) ul li a::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 9px;
    color: var(--accent-2);
    margin-right: 0;
    display: inline-block;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width .3s var(--ease), margin .3s var(--ease), opacity .3s;
}

footer .col-md-3:nth-child(3) ul li a:hover::before {
    width: 10px;
    margin-right: 6px;
    opacity: 1;
}

footer ul li a:hover {
    transform: none !important;
    color: #fff !important;
}

/* contact list: icon bubbles */
footer .col-md-3:nth-child(2) ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .col-md-3:nth-child(2) ul li a i {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    color: var(--accent-2);
    font-size: 12px;
    transition: background .3s, color .3s, transform .3s var(--ease);
}

footer .col-md-3:nth-child(2) ul li a:hover i {
    background: var(--accent);
    color: #fff;
    transform: rotate(-10deg) scale(1.1);
}

footer .view-on-map {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff !important;
    font-size: 13px;
    letter-spacing: .03em;
}

footer .view-on-map::before {
    content: "\f3c5";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 7px;
    color: var(--accent-2);
}

footer .view-on-map:hover {
    background: var(--accent);
    border-color: var(--accent);
}

footer .view-on-map:hover::before {
    color: #fff;
}

footer .foot-note {
    font-size: 14px;
    line-height: 1.7;
    color: #b6c7de;
    margin-bottom: 16px;
}

footer .foot-social .soc-btn {
    width: 42px;
    height: 42px;
    font-size: 17px;
    margin: 0 8px 8px 0;
}

/* bottom bar */
.designed-by {
    background: rgba(0, 0, 0, .28) !important;
    margin-top: 42px !important;
    padding: 16px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #a9bbd3 !important;
    font-size: 13.5px;
}

.designed-by .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.designed-by .db-left {
    text-align: left;
}

.designed-by .db-right {
    text-align: right;
}

.designed-by .copy {
    margin-right: 14px;
    color: #dbe6f5;
    font-weight: 500;
}

.designed-by .sep {
    margin: 0 6px;
    opacity: .4;
}

.designed-by a {
    color: #dbe6f5 !important;
    transition: color .25s;
}

.designed-by a:hover {
    color: var(--accent-2) !important;
}

.designed-by .credits a {
    font-weight: 600;
}

@media (max-width:767px) {
    header .top-header>[class*='col-'] {
        justify-content: center;
        min-height: 30px;
    }

    header .top-header .social {
        justify-content: center !important;
    }

    .soc-btn {
        margin: 0 4px;
    }

    footer .container>.row {
        display: block;
    }

    footer .text-center img {
        width: 110px !important;
    }

    footer .address li {
        font-size: 13.5px;
    }

    footer .col-md-3:nth-child(2) ul li a {
        justify-content: center;
    }

    footer .foot-note {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    footer .footer-column-content {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .designed-by {
        padding-bottom: 72px !important;
    }

    /* room for the back-to-top button */
    footer .foot-social {
        display: flex;
        justify-content: center;
    }

    footer .foot-social .soc-btn {
        margin: 0 5px 8px;
    }

    .designed-by {
        margin-top: 20px !important;
    }

    .designed-by .db-left,
    .designed-by .db-right {
        text-align: center !important;
        margin: 3px 0;
    }
}