/* Brand Colors */
.brand-teal, .footer-brand-teal { color: #20c997; }


/* Navbar shadow */
.navbar { box-shadow: 0 2px 12px rgba(0,0,0,.07); }

/* Nav-link hover pill and active state */
.nav-link:hover,
.nav-link.active {
    background-color: #e7f1ff;
    border-radius: .5rem;
    color: #0d6efd !important; /* Ensures the text color stays primary when active */
}

/* Footer Styles */
/* --- Footer Custom Styles --- */

/* 1. Footer link hover */
.footer-link { 
    color: rgba(255,255,255,.55); 
    text-decoration: none; 
    transition: color .15s, padding-left .15s; 
}
.footer-link:hover { 
    color: #20c997; 
    padding-left: 4px; 
}

/* 2. Column heading teal underline */
.footer-heading::after { 
    content: ''; 
    display: block; 
    width: 28px; 
    height: 2px; 
    background: #20c997; 
    border-radius: 2px; 
    margin-top: 6px; 
}

/* 3. Brand two-tone split */
.footer-brand-teal { 
    color: #20c997; 
}

/* 4. Social icon per-brand hover */
.social-icon { 
    transition: background-color .2s, border-color .2s, color .2s; 
}
.social-icon.fb:hover { background-color: #1877f2 !important; border-color: #1877f2 !important; color: #fff !important; }
.social-icon.ig:hover { background-color: #e1306c !important; border-color: #e1306c !important; color: #fff !important; }
.social-icon.tw:hover { background-color: #000    !important; border-color: #000    !important; color: #fff !important; }
.social-icon.wa:hover { background-color: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }

/* 5. App store button glass look */
.btn-app-store { 
    background: rgba(255,255,255,.06); 
    border: 1px solid rgba(255,255,255,.14); 
    color: #fff; 
    text-decoration: none; 
    transition: background .2s, border-color .2s; 
}
.btn-app-store:hover { 
    background: rgba(255,255,255,.13); 
    border-color: rgba(255,255,255,.30); 
    color: #fff; 
}
.btn-app-store .app-label-small { 
    font-size: .65rem; 
    opacity: .65; 
    line-height: 1.2; 
    display: block; 
}

/* --- Mobile Header & Drawer Styles --- */

.mob-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    z-index: 1050;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.mob-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    z-index: 1060;
}
.mob-drawer-overlay.show { display: block; }

.mob-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 1070;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.mob-drawer.show { transform: translateX(0); }

.mob-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #212529;
    font-weight: 600;
    font-size: .95rem;
    border-bottom: 1px solid #f1f3f5;
    transition: background .15s;
}
.mob-drawer-link:hover { background: #f0f7ff; color: #0d6efd; }
.mob-drawer-link i { width: 22px; text-align: center; font-size: 1.1rem; }

/* --- Mobile Bottom Navigation --- */

.mob-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -4px 16px rgba(0,0,0,.09);
    z-index: 1055;
    display: flex;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
}

.mob-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: #9e9e9e;
    font-size: .6rem;
    font-weight: 600;
    padding: 6px 2px 4px;
    position: relative;
    transition: color .18s;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: .01em;
    overflow: visible;
}

.mob-tab i {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform .15s;
}

.mob-tab.active { color: #0d6efd; }
.mob-tab.active i { color: #0d6efd; transform: scale(1.12); }

.mob-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 3px;
    background: #0d6efd;
    border-radius: 0 0 4px 4px;
    z-index: 1;
}

.mob-tab:active { opacity: .65; }

/* Center raised button */
.mob-tab-center {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    font-size: .6rem;
    font-weight: 700;
    padding: 0 10px;
    margin-top: -16px; 
    -webkit-tap-highlight-color: transparent;
}

.mob-tab-center .mob-center-btn {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 18px rgba(13,110,253,.55);
    transition: transform .15s, box-shadow .15s;
}

.mob-tab-center .mob-center-btn i { font-size: 1.4rem; color: #fff; }

.mob-tab-center:active .mob-center-btn {
    transform: scale(.91);
    box-shadow: 0 2px 8px rgba(13,110,253,.3);
}

.mob-tab-center > span { color: #0d6efd; margin-top: 3px; }

.mob-bottom-spacer {
    height: calc(60px + env(safe-area-inset-bottom));
}