/* =========================================================
   Gau Mitra - Footer and back-to-top
   Auto-segregated from the original Gau Mitra stylesheet.
========================================================= */

/* Footer */
.gm-site-footer {
    position: relative;
    padding: 58px 0 28px !important;
    background:
        radial-gradient(circle at 14% 10%, rgba(255, 106, 31, 0.18), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(34, 197, 94, 0.12), transparent 26%),
        linear-gradient(135deg, #171112 0%, #3d151d 48%, #102719 100%) !important;
    color: #fff3df !important;
    overflow: hidden;
}

.gm-site-footer::before {
    content: "ॐ";
    position: absolute;
    right: 7%;
    top: 22px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 112px;
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.045);
    pointer-events: none;
}

.gm-footer-card {
    position: relative;
    padding: 34px !important;
    border-radius: 32px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.17) !important;
}

.gm-footer-brand-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
}

.gm-footer-brand-row h5 {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 29px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

.gm-footer-brand-row p {
    margin: 7px 0 0 !important;
    color: rgba(255, 238, 203, 0.75) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.gm-footer-about-text {
    max-width: 520px;
    margin: 0 !important;
    color: rgba(255, 238, 203, 0.76) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
}

.gm-footer-mantra-text {
    display: inline-flex !important;
    margin-top: 17px !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    color: #ffe08a !important;
    background: rgba(250, 204, 21, 0.11) !important;
    border: 1px solid rgba(250, 204, 21, 0.16) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.gm-footer-title {
    margin-bottom: 15px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
}

.gm-site-footer a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    color: rgba(255, 238, 203, 0.76) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.gm-site-footer a:hover {
    color: #ffe08a !important;
    transform: translateX(3px);
}

.gm-footer-note {
    color: rgba(255, 238, 203, 0.74) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    font-weight: 400 !important;
}

.gm-footer-action-btn {
    margin-top: 8px !important;
    min-height: 44px !important;
    padding: 11px 17px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff6a1a 0%, #ef3426 50%, #be123c 100%) !important;
    box-shadow: 0 16px 34px rgba(190, 18, 60, 0.22) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.gm-footer-bottom-row {
    margin-top: 30px !important;
    padding-top: 19px !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: rgba(255, 238, 203, 0.64) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.gm-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1030;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--kumkum), var(--saffron));
    box-shadow: 0 18px 38px rgba(120, 53, 15, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity var(--gm-transition), transform var(--gm-transition), visibility var(--gm-transition);
}

.gm-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gm-back-to-top i {
    font-size: 27px;
}

