/* ================================
   RGS Footer
================================ */

.rgs-footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
}

.rgs-footer-glow-one {
    width: 260px;
    height: 260px;
    background: rgba(217, 119, 6, 0.24);
    left: -80px;
    top: 120px;
}

.rgs-footer-glow-two {
    width: 320px;
    height: 320px;
    background: rgba(124, 74, 45, 0.42);
    right: -100px;
    bottom: -80px;
}

.rgs-footer-container {
    position: relative;
    z-index: 2;
    width: min(1280px, 92%);
    margin: 0 auto;
    padding: 72px 0 26px;
}

/* CTA */
.rgs-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 34px;
    border: 1px solid rgba(255, 247, 237, 0.14);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 247, 237, 0.12), rgba(255, 247, 237, 0.035)),
        rgba(255, 247, 237, 0.05);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 58px;
}

.rgs-footer-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.18);
    color: #FCD34D;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(252, 211, 77, 0.22);
    margin-bottom: 14px;
}

.rgs-footer-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
    color: var(--cream);
}

.rgs-footer-cta p {
    max-width: 670px;
    margin: 0;
    color: rgba(255, 247, 237, 0.74);
    font-size: 1rem;
    line-height: 1.7;
}

.rgs-footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.rgs-footer-primary-btn,
.rgs-footer-secondary-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 850;
    font-size: 0.92rem;
    transition: all 0.28s ease;
    white-space: nowrap;
}

.rgs-footer-primary-btn {
    background: linear-gradient(135deg, #FCD34D, var(--gold));
    color: var(--deep-brown);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
}

.rgs-footer-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(217, 119, 6, 0.36);
}

.rgs-footer-secondary-btn {
    color: var(--cream);
    border: 1px solid rgba(255, 247, 237, 0.24);
    background: rgba(255, 247, 237, 0.06);
}

.rgs-footer-secondary-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 247, 237, 0.12);
    border-color: rgba(252, 211, 77, 0.36);
}

/* Footer Grid */
.rgs-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 0.8fr) 1.15fr;
    gap: 36px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(255, 247, 237, 0.12);
}

.rgs-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--cream);
    margin-bottom: 20px;
}

.rgs-footer-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 247, 237, 0.08);
    padding: 4px;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.rgs-footer-brand:hover img {
    transform: scale(1.09);
    filter: drop-shadow(0 10px 16px rgba(217, 119, 6, 0.22));
}

.rgs-footer-brand strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.rgs-footer-brand span {
    display: block;
    margin-top: 5px;
    color: #FCD34D;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.rgs-footer-about {
    max-width: 360px;
    margin: 0 0 22px;
    color: rgba(255, 247, 237, 0.72);
    line-height: 1.75;
    font-size: 0.95rem;
}

.rgs-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rgs-footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    background: rgba(255, 247, 237, 0.08);
    border: 1px solid rgba(255, 247, 237, 0.12);
    text-decoration: none;
    transition: all 0.28s ease;
}

.rgs-footer-socials a:hover {
    transform: translateY(-3px);
    background: rgba(217, 119, 6, 0.22);
    border-color: rgba(252, 211, 77, 0.3);
    color: #FCD34D;
}

.rgs-footer-col h3 {
    margin: 0 0 18px;
    color: var(--cream);
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.rgs-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rgs-footer-col li {
    margin-bottom: 11px;
}

.rgs-footer-col a {
    color: rgba(255, 247, 237, 0.68);
    text-decoration: none;
    font-size: 0.94rem;
    transition: all 0.25s ease;
}

.rgs-footer-col a:hover {
    color: #FCD34D;
    padding-left: 6px;
}

.rgs-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: rgba(255, 247, 237, 0.72);
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

.rgs-footer-contact-item i {
    color: #FCD34D;
    margin-top: 3px;
}

.rgs-footer-map-link {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FCD34D !important;
    font-weight: 800;
}

.rgs-footer-map-link:hover {
    padding-left: 0 !important;
    gap: 12px;
}

/* Branch Strip */
.rgs-footer-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 247, 237, 0.12);
}

.rgs-footer-branches span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.07);
    border: 1px solid rgba(255, 247, 237, 0.11);
    color: rgba(255, 247, 237, 0.78);
    font-size: 0.84rem;
    font-weight: 750;
}

/* Bottom */
.rgs-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
}

.rgs-footer-bottom p {
    margin: 0;
    color: rgba(255, 247, 237, 0.58);
    font-size: 0.9rem;
}

.rgs-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rgs-footer-bottom-links a {
    color: rgba(255, 247, 237, 0.58);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.rgs-footer-bottom-links a:hover {
    color: #FCD34D;
}

/* Responsive */
@media (max-width: 1180px) {
    .rgs-footer-grid {
        grid-template-columns: 1.4fr repeat(2, 1fr);
    }

    .rgs-footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .rgs-footer-container {
        padding-top: 54px;
    }

    .rgs-footer-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
        border-radius: 28px;
    }

    .rgs-footer-cta-actions {
        width: 100%;
    }

    .rgs-footer-primary-btn,
    .rgs-footer-secondary-btn {
        flex: 1;
    }

    .rgs-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rgs-footer-brand-col {
        grid-column: span 2;
    }

    .rgs-footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .rgs-footer {
        margin-top: 60px;
    }

    .rgs-footer-container {
        width: 92%;
        padding: 44px 0 22px;
    }

    .rgs-footer-cta {
        padding: 22px;
        border-radius: 24px;
        margin-bottom: 42px;
    }

    .rgs-footer-cta h2 {
        font-size: 1.72rem;
    }

    .rgs-footer-cta p {
        font-size: 0.94rem;
    }

    .rgs-footer-cta-actions {
        flex-direction: column;
    }

    .rgs-footer-primary-btn,
    .rgs-footer-secondary-btn {
        width: 100%;
    }

    .rgs-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rgs-footer-brand-col,
    .rgs-footer-contact {
        grid-column: span 1;
    }

    .rgs-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .rgs-footer-bottom-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .rgs-footer-brand strong {
        font-size: 1.18rem;
    }

    .rgs-footer-brand img {
        width: 52px;
        height: 52px;
    }
}

/* Footer contrast fix */
.rgs-footer {
    color: #FFF7ED;
}

.rgs-footer-col h3,
.rgs-footer-cta h2,
.rgs-footer-brand strong {
    color: #FFF7ED;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.rgs-footer-col h3 {
    position: relative;
    padding-bottom: 12px;
}

.rgs-footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #FCD34D, #D97706);
}

/* Links ko readable karo */
.rgs-footer-col a,
.rgs-footer-about,
.rgs-footer-contact-item,
.rgs-footer-cta p {
    color: rgba(255, 247, 237, 0.82);
}

.rgs-footer-col a:hover {
    color: #FCD34D;
}

/* Icons ko bright gold karo */
.rgs-footer-contact-item i,
.rgs-footer-map-link i {
    color: #FCD34D;
    text-shadow: 0 0 14px rgba(252, 211, 77, 0.35);
}

/* Social icons better visible */
.rgs-footer-socials a {
    color: #FFF7ED;
    background: rgba(255, 247, 237, 0.13);
    border: 1px solid rgba(252, 211, 77, 0.22);
}

.rgs-footer-socials a i {
    color: #FCD34D;
    font-size: 1.1rem;
}

.rgs-footer-socials a:hover {
    background: #D97706;
    color: #FFF7ED;
    border-color: #FCD34D;
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.28);
}

.rgs-footer-socials a:hover i {
    color: #FFF7ED;
}

/* Branch badges bhi visible */
.rgs-footer-branches span {
    color: #FFF7ED;
    background: rgba(255, 247, 237, 0.11);
    border-color: rgba(252, 211, 77, 0.2);
}

/* Bottom text thora readable */
.rgs-footer-bottom p,
.rgs-footer-bottom-links a {
    color: rgba(255, 247, 237, 0.7);
}

.rgs-footer-bottom-links a:hover {
    color: #FCD34D;
}