/* ============================================================ */
/* FOOTER STYLES - Jeev Sahara Foundation                      */
/* ============================================================ */

/* ----- FOOTER MAIN ----- */
.foundation-footer {
    background: #603c24;
    color: #fff;
    padding: 50px 0px;
    margin-top: 20px;
}

.foundation-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== FOOTER TOP ===== */
.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
}

/* ===== FOOTER COLUMNS ===== */
.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-col .toggle-icon {
    display: none;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
}

/* ----- Brand Column ----- */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.footer-logo span {
    color: #f17833;
}

.footer-tagline {
    color: #fff;
    font-size: 0.95rem;
    margin: -8px 0 0;
}

/* Contact Buttons */
.footer-contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-chat-btn,
.footer-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-chat-btn {
    background: #f17833;
    color: #ffffff;
}

.footer-chat-btn:hover {
    background: #1f5c3b;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-email-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-email-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: #f17833;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ----- Links Columns ----- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: #f17833;
    padding-left: 4px;
}

/* ----- App Download Column ----- */
.footer-app-col h4 {
    margin-bottom: 16px;
}

.footer-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-btn i {
    font-size: 1.8rem;
}

.app-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-btn small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.app-btn strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.google-play {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.google-play:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    padding: 20px 0 24px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright {
    color: #fff;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4ade80;
}

.footer-bottom-links .divider {
    color: #1e293b;
}

/* ============================================================ */
/* MOBILE BOTTOM NAVIGATION WITH SEPARATORS                    */
/* ============================================================ */

.bottom-nav {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e9edf2;
    padding: 5px 10px !important;
    /* padding: 8px 0 env(safe-area-inset-bottom, 8px); */
    z-index: 999;
    display: none;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin: 0 12px;
    max-width: calc(100% - 24px);
}

/* ===== Bottom Nav Items ===== */
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 4px 12px;
    min-width: 56px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    flex: 1;
}

.bottom-nav-item.active {
    color: #f17833;
}

.bottom-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.bottom-nav-item .nav-label {
    font-size: 0.6rem;
    letter-spacing: 0.3px;
}

/* ===== Separator Lines (Grey vertical lines) ===== */
.nav-divider {
    width: 1px;
    height: 35px;
    background: #fff;
    padding: 18px !important;
    flex-shrink: 0;
}
.divider1{
  border-left: 1px solid rgb(210, 209, 209);
}
.divider2{
  border-right: 1px solid rgb(210, 209, 209);
}

/* ===== Notification Badge ===== */
.nav-badge {
    position: absolute;
    top: -2px !important;
    right: 50% !important;
    transform: translateX(calc(50% + 20px));
    background: #e11d48 !important;
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #ffffff;
    line-height: 1;
}

/* ===== Donate Button (Center - Highlighted) ===== */
.bottom-nav-item.donate-nav {
    background: #f17833;
    color: #ffffff;
    padding: 8px 25px !important;
    border-radius: 50px;
    flex-direction: row;
    gap: 6px;
    min-width: auto;
    flex: 0 1 auto;
    box-shadow: 0 4px 14px rgba(45, 122, 79, 0.3);
}

.bottom-nav-item.donate-nav i {
    font-size: 1rem;
    margin-bottom: 0;
}

.bottom-nav-item.donate-nav .nav-label {
    font-size: 0.75rem;
    font-weight: 600;
}

.bottom-nav-item.donate-nav.active {
    background: #1f5c3b;
}

.bottom-nav-item.donate-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 122, 79, 0.4);
}

/* ============================================================ */
/* SCROLL TO TOP BUTTON - FIXED WORKING VERSION                */
/* ============================================================ */
.scroll-top {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    width: 48px !important;
    height: 48px !important;
    background: #f17833 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(45, 122, 79, 0.35) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
}

.scroll-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.scroll-top i {
    font-size: 1.2rem !important;
    transition: transform 0.3s ease !important;
}

.scroll-top:hover {
    background: #1f5c3b !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 30px rgba(45, 122, 79, 0.45) !important;
}

.scroll-top:hover i {
    transform: translateY(-2px) !important;
}

.scroll-top:active {
    transform: scale(0.95) !important;
}

.fa-bell {
    color: #e11d48 !important;
}

/* ============================================================ */
/* RESPONSIVE BREAKPOINTS                                       */
/* ============================================================ */

/* ----- TABLET (1024px and below) ----- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 24px;
    }
    
    .footer-app-col {
        grid-column: span 4;
    }
    
    .footer-app-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ----- MOBILE (768px and below) ----- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-brand-col {
        grid-column: span 2;
    }
    
    .footer-app-col {
        grid-column: span 2;
    }
    
    .footer-col .toggle-icon {
        display: block;
    }
    
    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .footer-links.open {
        max-height: 300px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .bottom-nav {
        display: flex !important;
    }
    
    body {
        padding-bottom: 80px;
    }

    .scroll-top {
        bottom: 80px !important;
        right: 16px !important;
        width: 42px !important;
        height: 42px !important;
    }
    
    .scroll-top i {
        font-size: 1rem !important;
    }
}

/* ----- SMALL MOBILE (480px and below) ----- */
@media (max-width: 480px) {
    .foundation-footer {
        padding: 30px 0 0;
    }

  
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-brand-col,
    .footer-app-col {
        grid-column: span 1;
    }
    
    .footer-contact-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-chat-btn,
    .footer-email-btn {
        justify-content: center;
        width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-app-buttons {
        flex-direction: column;
    }
    
    .app-btn {
        justify-content: center;
    }
    
    .bottom-nav {
        margin: 0 8px;
        /* padding: 6px 0 env(safe-area-inset-bottom, 6px); */
        border-radius: 12px;
        max-width: calc(100% - 16px);
    }

    .bottom-nav-item {
        padding: 4px 6px;
        min-width: 40px;
    }

    .bottom-nav-item i {
        font-size: 1.1rem;
    }

    .bottom-nav-item .nav-label {
        font-size: 0.5rem;
    }

    .nav-divider {
        height: 24px;
    }

    .nav-badge {
        font-size: 0.45rem;
        min-width: 14px;
        height: 14px;
        top: -4px;
        transform: translateX(calc(50% + 14px));
    }

    .bottom-nav-item.donate-nav {
        padding: 12px 25px !important;
    }

    .bottom-nav-item.donate-nav i {
        font-size: 0.85rem;
    }

    .bottom-nav-item.donate-nav .nav-label {
        font-size: 0.65rem;
    }

    .scroll-top {
        bottom: 76px !important;
        right: 12px !important;
        width: 38px !important;
        height: 38px !important;
    }
    
    .scroll-top i {
        font-size: 0.85rem !important;
    }
}

/* ----- DESKTOP (769px and above) ----- */
@media (min-width: 769px) {
    .footer-links {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .footer-col .toggle-icon {
        display: none !important;
    }
}

/* ----- DESKTOP (993px and above) ----- */
@media (min-width: 993px) {
    .bottom-nav {
        display: none !important;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .scroll-top {
        bottom: 40px !important;
        right: 40px !important;
        width: 52px !important;
        height: 52px !important;
    }
}
.fa-chart-line,
.nav-label{
    color: #64748b;
}
.nadon{
    color: #fff;
}


.footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer-logo-img {
    max-height: 100px;
    width: auto;
    display: block;
}

@media (max-width: 767px) {
    .footer-logo-img {
        max-height: 80px;
    }
}