﻿.rpm-footer {
    position: relative;
    background: var(--void, #0a0a0a);
    color: rgba(255, 255, 255, 0.75);
    overflow: hidden;
    padding-top: 1px;
}

    .rpm-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
        background-size: 200% 100%;
        animation: rpm-border-flow 6s linear infinite;
    }

@keyframes rpm-border-flow {
    to {
        background-position: -200% 0;
    }
}

.rpm-footer-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
    mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
    pointer-events: none;
}

/* ---------- CTA banner ---------- */
.rpm-footer-cta {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rpm-footer-cta-inner h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.8rem;
}

.rpm-footer-cta-inner p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 2rem;
}

.rpm-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    background: linear-gradient(100deg, var(--blue), var(--purple));
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 26px rgba(62, 123, 255, 0.3);
}

    .rpm-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(62, 123, 255, 0.5);
    }

.rpm-cta-arrow {
    display: inline-block;
    transition: transform 0.35s ease;
}

.rpm-cta-btn:hover .rpm-cta-arrow {
    transform: translateX(5px);
}

/* ---------- main columns ---------- */
.rpm-footer-main {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr 1.5fr;
    gap: 3rem;
}

.rpm-footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 1.2rem;
}

.rpm-footer-tagline {
    font-size: 1.5rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 340px;
    margin: 0 0 1.6rem;
}

.rpm-footer-social {
    display: flex;
    gap: 0.9rem;
}

    .rpm-footer-social a {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: #fff;
        text-decoration: none;
        transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    }

        .rpm-footer-social a:hover {
            background: linear-gradient(135deg, var(--blue), var(--purple));
            border-color: transparent;
            transform: translateY(-4px) rotate(6deg);
        }

.rpm-footer-heading {
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
}

    .rpm-footer-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 32px;
        height: 2px;
        background: linear-gradient(90deg, var(--blue), var(--purple));
    }

.rpm-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

    .rpm-footer-links a {
        position: relative;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        font-size: 1.5rem;
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

        .rpm-footer-links a::before {
            content: "";
            position: absolute;
            left: -14px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 1px;
            background: linear-gradient(90deg, var(--blue), var(--purple));
            transition: width 0.3s ease;
        }

        .rpm-footer-links a:hover {
            color: #fff;
            padding-left: 16px;
        }

            .rpm-footer-links a:hover::before {
                width: 12px;
            }

.rpm-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

    .rpm-footer-contact li {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.65);
    }

    .rpm-footer-contact i {
        color: var(--blue);
        font-size: 1.1rem;
    }

    .rpm-footer-contact a {
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .rpm-footer-contact a:hover {
            color: #fff;
        }

/* ---------- locations section ---------- */
.rpm-footer-locations {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



.rpm-location-card {
    position: relative;
    padding: 2.2rem 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

    .rpm-location-card:hover {
        transform: translateY(-6px);
        border-color: rgba(62, 123, 255, 0.4);
        background: rgba(255, 255, 255, 0.05);
    }

.rpm-location-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.rpm-location-card h4 {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    letter-spacing: 0.02em;
}

.rpm-location-card p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ---------- bottom bar ---------- */
.rpm-footer-bottom {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.6rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.45);
}

.rpm-footer-legal {
    display: flex;
    gap: 1.5rem;
}

    .rpm-footer-legal a {
        color: rgba(255, 255, 255, 0.45);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .rpm-footer-legal a:hover {
            color: #fff;
        }

@media (max-width: 900px) {
    .rpm-footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .rpm-footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

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

    .rpm-footer-contact li {
        justify-content: center;
    }

    .rpm-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .rpm-locations-grid {
        grid-template-columns: 1fr;
    }

    .rpm-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}




@media (max-width: 900px) {
    .rpm-location-card {
        text-align: left; /* keep left-aligned even though the column centers */
    }
}
