/* ==========================================================
   RADHA RANI IT SOLUTIONS — FOOTER
   File: assets/css/footer.css
========================================================== */

.rr-footer {
    --rrf-navy: #102653;
    --rrf-navy-deep: #0a1834;
    --rrf-blue: #244987;
    --rrf-pink: #f50970;
    --rrf-text: #d0daec;
    --rrf-muted: #9eacc5;
    --rrf-line: rgba(255,255,255,.12);
    color: var(--rrf-text);
    background: var(--rrf-navy-deep);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.rr-footer *,
.rr-footer *::before,
.rr-footer *::after { box-sizing: border-box; }

.rr-footer a { text-decoration: none; }

.rr-footer-main {
    position: relative;
    overflow: hidden;
    padding: 58px 0 42px;
    background:
        radial-gradient(circle at 10% 0%, rgba(37,77,143,.24), transparent 34%),
        radial-gradient(circle at 95% 100%, rgba(245,9,112,.09), transparent 28%),
        var(--rrf-navy-deep);
}

.rr-footer-main::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--rrf-pink), #5c83d1 55%, #f5a4c7);
}

.rr-footer .rr-footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) minmax(135px, .75fr)
                           minmax(165px, .9fr) minmax(210px, 1.1fr)
                           minmax(210px, 1.1fr);
    gap: 32px;
    align-items: start;
}

.rr-footer-box { min-width: 0; }

.rr-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    color: #fff;
}

.rr-footer-brand:hover { color: #fff; }

.rr-footer-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(140deg, var(--rrf-pink), #c8005a);
    box-shadow: 0 8px 20px rgba(245,9,112,.2);
    font-size: 20px;
}

.rr-footer-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.rr-footer-brand-text strong { font-size: 17px; font-weight: 850; letter-spacing: .35px; }
.rr-footer-brand-text small { margin-top: 5px; color: #ff8fbd; font-size: 10px; font-weight: 800; letter-spacing: 2.1px; }

.rr-footer-description {
    max-width: 340px;
    margin: 0 0 20px;
    color: var(--rrf-muted);
    font-size: 12px;
    line-height: 1.9;
}

.rr-footer-box h2 {
    margin: 4px 0 11px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.rr-footer-heading-line {
    display: block;
    width: 34px;
    height: 3px;
    margin: 0 0 20px;
    border-radius: 5px;
    background: var(--rrf-pink);
}

.rr-footer-social { display: flex; flex-wrap: wrap; gap: 9px; }

.rr-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50%;
    color: #dce6f8;
    background: rgba(255,255,255,.055);
    font-size: 13px;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.rr-footer-social a:hover {
    color: #fff;
    border-color: var(--rrf-pink);
    background: var(--rrf-pink);
    transform: translateY(-3px);
}

.rr-footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-footer-links li { margin: 0; padding: 0; }

.rr-footer-links a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--rrf-muted);
    font-size: 12px;
    line-height: 1.6;
    transition: color .2s ease, transform .2s ease;
}

.rr-footer-links a i { color: #f75b9b; font-size: 10px; }
.rr-footer-links a:hover { color: #fff; transform: translateX(3px); }

.rr-footer-contact-list {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.rr-footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 9px;
    color: #ff79ae;
    background: rgba(245,9,112,.12);
    font-size: 12px;
}

.rr-footer-contact-list li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rr-footer-contact-list small { margin-bottom: 2px; color: var(--rrf-muted); font-size: 10px; }
.rr-footer-contact-list a,
.rr-footer-contact-list strong { overflow-wrap: anywhere; color: #f3f6fc; font-size: 11px; font-weight: 650; }
.rr-footer-contact-list a:hover { color: #ff8fbd; }

.rr-footer-newsletter > p {
    margin: 0 0 14px;
    color: var(--rrf-muted);
    font-size: 12px;
    line-height: 1.8;
}

.rr-footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.rr-footer-newsletter-form input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    outline: none;
    color: #fff;
    background: rgba(255,255,255,.065);
    font-family: inherit;
    font-size: 12px;
    transition: border-color .2s ease, background .2s ease;
}

.rr-footer-newsletter-form input::placeholder { color: #9eacc5; }
.rr-footer-newsletter-form input:focus { border-color: #f75b9b; background: rgba(255,255,255,.09); }

.rr-footer-newsletter-form button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 10px 13px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(100deg, #df005f, var(--rrf-pink));
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 750;
    transition: filter .2s ease, transform .2s ease;
}

.rr-footer-newsletter-form button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.rr-footer-newsletter-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px !important; font-size: 10px !important; }
.rr-footer-newsletter-note i { margin-top: 4px; color: #62d6a0; }
.rr-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.rr-footer-bottom {
    border-top: 1px solid var(--rrf-line);
    background: #071329;
}

.rr-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 62px;
    padding-top: 13px;
    padding-bottom: 13px;
}

.rr-footer-bottom p { margin: 0; color: #98a8c3; font-size: 11px; }
.rr-footer-bottom p strong { color: #fff; font-weight: 750; }
.rr-footer-bottom-inner > a { display: inline-flex; align-items: center; gap: 5px; color: #aab8d0; font-size: 11px; }
.rr-footer-bottom-inner > a span { color: #ff78ad; font-weight: 750; }
.rr-footer-bottom-inner > a:hover { color: #fff; }
.rr-footer-bottom-inner > a i { margin-left: 3px; font-size: 9px; }

/* Responsive layouts */
@media (max-width: 1200px) {
    .rr-footer .rr-footer-grid {
        grid-template-columns: 1.25fr .8fr .95fr 1.1fr;
        gap: 30px 25px;
    }
    .rr-footer-newsletter { grid-column: 1 / -1; max-width: 480px; }
    .rr-footer-newsletter-form { flex-direction: row; }
    .rr-footer-newsletter-form input { flex: 1; }
    .rr-footer-newsletter-form button { min-width: 130px; }
}

@media (max-width: 850px) {
    .rr-footer-main { padding: 45px 0 34px; }
    .rr-footer .rr-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 25px; }
    .rr-footer-about { grid-column: 1 / -1; }
    .rr-footer-description { max-width: 560px; }
    .rr-footer-newsletter { grid-column: auto; }
    .rr-footer-newsletter-form { flex-direction: column; }
    .rr-footer-newsletter-form button { width: 100%; }
}

@media (max-width: 520px) {
    .rr-footer-main { padding: 38px 0 28px; }
    .rr-footer .rr-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .rr-footer-about,
    .rr-footer-newsletter { grid-column: auto; }
    .rr-footer-description { max-width: none; }
    .rr-footer-box h2 { font-size: 14px; }
    .rr-footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-top: 15px; padding-bottom: 15px; }
    .rr-footer-bottom p,
    .rr-footer-bottom-inner > a { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .rr-footer *,
    .rr-footer *::before,
    .rr-footer *::after { transition-duration: .01ms !important; }
}
