footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #000d2e 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
}

footer h6 {
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#footer-brand-text {
    font-family: Forte;
    color: #fff;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    padding: 0.3rem 0;
    transition: color var(--transition), padding-left var(--transition);
}

footer a:hover {
    color: var(--accent);
    padding-left: 0.3rem;
}

footer .footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    margin-top: 3rem;
    padding: 1.1rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer .social-links {
    display: flex;
    gap: 10px;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    padding: 0;
    transition: background var(--transition), color var(--transition);
}

footer .social-links a:hover {
    background: var(--accent);
    color: var(--white);
    padding-left: 0;
}

#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background var(--transition);
    z-index: 998;
    padding: 0;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

#backToTop i {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.btt-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.btt-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 2.5;
}

.btt-ring {
    fill: none;
    stroke: var(--white);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 113.1;
    stroke-dashoffset: 113.1;
    transition: stroke-dashoffset 0.1s linear;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    footer .row > div {
        text-align: center;
    }

    footer .d-flex.align-items-center {
        justify-content: center;
    }

    footer .social-links {
        justify-content: center;
    }

    footer .footer-bottom .container {
        justify-content: center !important;
        text-align: center;
    }
}
