/**
 * DotIAM Baby Names — Footer (footer.css)
 * Total redesign — dark navy/purple hataya, home page jaisa light theme
 * (rose/peach/lavender/sage/gold). Saari classes "ft-" prefix ke saath —
 * purane footer styles se koi takraav nahi.
 */

:root {
    --ft-ink:          #262231;
    --ft-ink-soft:     #625C71;
    --ft-bg:           #FFFDFB;

    --ft-rose:         #E15C79;
    --ft-rose-deep:    #B93555;
    --ft-rose-tint:    #FCE9EE;
    --ft-peach:        #F3945F;
    --ft-peach-deep:   #C15A2E;
    --ft-peach-tint:   #FDEEE3;
    --ft-lavender:     #8873B8;
    --ft-lavender-deep:#5F4990;
    --ft-lavender-tint:#EEE8F8;
    --ft-sage:         #5C9678;
    --ft-sage-deep:    #386B4E;
    --ft-sage-tint:    #E4F1EA;
    --ft-gold:         #CC9A35;
    --ft-gold-deep:    #96701F;
    --ft-gold-tint:    #FAF0DA;

    --ft-dark-bg:      #201C2E;
    --ft-dark-text:    #F5F1FB;
    --ft-dark-text-soft: #B8AFC9;

    --ft-radius-md: 18px;
    --ft-radius-lg: 26px;
    --ft-ease: cubic-bezier(0.22, 1, 0.36, 1);

    --ft-font-display: 'Quicksand', 'Poppins', sans-serif;
    --ft-font-body:    'Poppins', sans-serif;
}

.ft-container { max-width: 1400px; margin: 0 auto; padding: 0 28px; }

/* ================================================
   Band हेड (reusable — tools/kids/sites सेक्शन)
================================================ */
.ft-band-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.ft-band-title {
    font-family: var(--ft-font-display); font-weight: 700; color: var(--ft-ink);
    font-size: clamp(22px, 1.6vw + 16px, 30px); display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.ft-band-icon { font-size: 1.05em; }
.ft-band-sub { font-family: var(--ft-font-body); font-size: 15.5px; color: var(--ft-ink-soft); }

/* ================================================
   1. Astrology & Numerology Tools — rose tint band
================================================ */
.ft-tools-band { padding: 64px 0; background: #fff; }
.ft-tools-band.ft-kids-band { background: #fff; border-top: 1px solid rgba(38,34,49,0.07); }

.ft-tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ft-tool-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid rgba(38,34,49,0.08); border-radius: var(--ft-radius-md);
    padding: 22px; text-decoration: none; color: inherit;
    transition: transform 0.25s var(--ft-ease), border-color 0.25s var(--ft-ease);
}
.ft-tool-card:hover { transform: translateY(-5px); border-color: var(--ft-rose); }
.ft-kids-band .ft-tool-card:hover { border-color: var(--ft-lavender); }

.ft-tool-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; border-radius: 50%; background: var(--ft-rose-tint); margin-bottom: 14px;
}
.ft-kids-band .ft-tool-icon { background: var(--ft-lavender-tint); }
.ft-tool-body h3 { font-family: var(--ft-font-display); font-weight: 700; font-size: 16px; color: var(--ft-ink); margin-bottom: 5px; }
.ft-tool-body p { font-family: var(--ft-font-body); font-size: 13px; color: var(--ft-ink-soft); line-height: 1.55; margin: 0; }
.ft-tool-arrow { margin-top: 14px; font-family: var(--ft-font-display); font-weight: 700; font-size: 13px; color: var(--ft-rose-deep); }
.ft-kids-band .ft-tool-arrow { color: var(--ft-lavender-deep); }

/* ================================================
   2. Explore More Sites — gold tint band
================================================ */
.ft-sites-band { padding: 64px 0; background: #fff; border-top: 1px solid rgba(38,34,49,0.07); }
.ft-sites-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ft-site-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid rgba(38,34,49,0.08); border-radius: var(--ft-radius-md);
    padding: 22px; text-decoration: none; color: inherit;
    transition: transform 0.25s var(--ft-ease), border-color 0.25s var(--ft-ease);
}
.ft-site-card:hover { transform: translateY(-5px); border-color: var(--ft-gold); }
.ft-site-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; border-radius: 50%; background: var(--ft-gold-tint); margin-bottom: 14px;
}
.ft-site-body h3 { font-family: var(--ft-font-display); font-weight: 700; font-size: 16px; color: var(--ft-ink); margin-bottom: 5px; }
.ft-site-body p { font-family: var(--ft-font-body); font-size: 13px; color: var(--ft-ink-soft); line-height: 1.55; margin: 0; }
.ft-site-arrow { margin-top: 14px; font-family: var(--ft-font-display); font-weight: 700; font-size: 13px; color: var(--ft-gold-deep); }

/* ================================================
   3. Main Footer — light bg
================================================ */
.ft-footer {
    background: var(--ft-dark-bg); padding: 70px 0 0;
    border-top: none;
}
.ft-footer-grid {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px;
    padding-bottom: 50px;
}

.ft-footer-logo { height: 38px; margin-bottom: 16px; display: block; }
.ft-footer-text { font-family: var(--ft-font-body); font-size: 14.5px; line-height: 1.75; color: var(--ft-dark-text-soft); margin-bottom: 20px; }

.ft-social-links { display: flex; gap: 10px; }
.ft-social-link {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.08); color: var(--ft-dark-text);
    transition: background 0.2s var(--ft-ease), color 0.2s var(--ft-ease), transform 0.2s var(--ft-ease);
}
.ft-social-link:hover { background: var(--ft-rose); color: #fff; transform: translateY(-3px); }

.ft-footer-heading {
    font-family: var(--ft-font-display); font-weight: 700; font-size: 16.5px;
    color: var(--ft-dark-text); margin-bottom: 18px;
}
.ft-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ft-footer-links a {
    font-family: var(--ft-font-body); font-size: 14.5px; color: var(--ft-dark-text-soft);
    text-decoration: none; transition: color 0.2s var(--ft-ease), padding-left 0.2s var(--ft-ease);
}
.ft-footer-links a:hover { color: var(--ft-rose); padding-left: 4px; }

/* ================================================
   4. Footer bottom — copyright
================================================ */
.ft-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 26px 0; text-align: center;
}
.ft-footer-bottom p { font-family: var(--ft-font-body); font-size: 13.5px; color: var(--ft-dark-text-soft); margin: 4px 0; }
.ft-footer-bottom a { color: var(--ft-rose); font-weight: 700; text-decoration: none; }
.ft-footer-bottom-links { margin-top: 10px !important; font-size: 12.5px !important; }
.ft-footer-bottom-links a { color: var(--ft-dark-text-soft); font-weight: 400; margin: 0 8px; }
.ft-footer-bottom-links a:hover { color: var(--ft-rose); }

/* ================================================
   5. Trust badges row
================================================ */
.ft-trust-row { border-top: 1px solid rgba(255,255,255,0.08); padding: 26px 0; text-align: center; }
.ft-trust-label { font-family: var(--ft-font-body); font-weight: 600; font-size: 13.5px; color: var(--ft-dark-text-soft); margin-bottom: 16px; }
.ft-trust-badges { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.ft-trust-badge { display: flex; align-items: center; gap: 8px; }
.ft-trust-badge-icon { font-size: 20px; }
.ft-trust-badge-text { font-family: var(--ft-font-body); font-weight: 600; font-size: 13px; color: var(--ft-dark-text-soft); }

/* ================================================
   6. Back to top button
================================================ */
.ft-back-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 1000;
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--ft-rose) 0%, var(--ft-lavender) 100%);
    color: #fff; font-size: 20px; display: none; align-items: center; justify-content: center;
    transition: transform 0.2s var(--ft-ease), opacity 0.2s var(--ft-ease);
}
.ft-back-top.ft-visible { display: flex; }
.ft-back-top:hover { transform: translateY(-4px) scale(1.06); }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1023px) and (min-width: 768px) {
    .ft-tools-grid, .ft-sites-grid { grid-template-columns: repeat(3, 1fr); }
    .ft-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .ft-footer-grid > .ft-footer-col:last-child { grid-column: span 1; }
}

@media (max-width: 767px) {
    .ft-container { padding: 0 18px; }
    .ft-tools-band, .ft-sites-band { padding: 46px 0; }
    .ft-tools-grid, .ft-sites-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ft-tool-card, .ft-site-card { padding: 16px; }
    .ft-tool-icon, .ft-site-icon { width: 40px; height: 40px; font-size: 19px; margin-bottom: 10px; }
    .ft-tool-body h3, .ft-site-body h3 { font-size: 14.5px; }
    .ft-tool-body p, .ft-site-body p { font-size: 12px; }

    .ft-footer { padding: 46px 0 0; }
    .ft-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 34px; }

    .ft-back-top { bottom: 18px; right: 18px; width: 42px; height: 42px; font-size: 18px; }
}

@media (max-width: 480px) {
    .ft-tools-grid, .ft-sites-grid { grid-template-columns: repeat(2, 1fr); }
    .ft-footer-grid { grid-template-columns: 1fr; }
    .ft-trust-badges { gap: 18px; }
}