
/* ══════════════════════════════════════════
   FOOTER REDESIGN (Light & Orange Theme)
══════════════════════════════════════════ */
:root {
    --footer-orange: #FF6600;
    --footer-bg: #111111;
    --footer-text: #ffffff;
    --footer-border: #222222;
}

.site-footer {
    background: var(--footer-bg);
    margin-top: 40px;
    border-top: 2px solid var(--footer-orange);
    color: var(--footer-text);
    padding-top: 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Footer Columns */
.footer-col__title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

.foot-logo {
    display: block;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
}

.foot-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

/* Contact Info in Brand Column */
.foot-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.foot-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #eeeeee;
}
.foot-contact-item i {
    color: var(--footer-orange);
    font-size: 15px;
    margin-top: 2px;
}

/* List Items with Orange Icons */
.footer-col__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col__list li {
    margin-bottom: 10px;
}
.footer-col__list li a {
    color: #dddddd;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.footer-col__list li a:hover {
    color: var(--footer-orange);
}
.footer-col__list li a i {
    width: 20px;
    height: 20px;
    background: var(--footer-orange);
    color: #fff !important;
    font-size: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Social Column */
.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #eeeeee;
    font-size: 14px;
}
.social-item i {
    width: 24px;
    height: 24px;
    background: var(--footer-orange);
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Payment Methods */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.payment-img-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
.payment-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Footer Bottom */
.footer-btm {
    border-top: 1px solid var(--footer-border);
    padding: 20px 0;
    text-align: center;
}
@media (max-width: 768px) {
    .footer-btm {
        padding-bottom: 80px; /* Space for mobile bottom nav */
    }
}
.footer-btm__copy {
    font-size: 13px;
    color: #999999;
    margin-bottom: 5px;
}


/* Floating Buttons */
.back-to-top {
    position: fixed;
    bottom: 85px; /* Raised for mobile nav */
    left: 20px;
    width: 35px;
    height: 35px;
    background: var(--footer-orange);
    color: #fff;
    border-radius: 4px;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

@media (min-width: 769px) {
    .back-to-top { bottom: 30px; }
}
.back-to-top:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* ══════════════════════════════════════════
   FLOATING CHAT WIDGET
══════════════════════════════════════════ */
.fc-wrap {
    position: fixed;
    bottom: 85px; /* Raised for mobile nav */
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

@media (min-width: 769px) {
    .fc-wrap { bottom: 30px; }
}

.fc-main-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--footer-orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,102,0,0.3);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s;
    position: relative;
    z-index: 2;
}
.fc-main-btn:hover  { transform: scale(1.05); }
.fc-main-btn.is-open { background: #444; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

.fc-icon-open  { display: block; }
.fc-icon-close { display: none; }
.fc-main-btn.is-open .fc-icon-open  { display: none; }
.fc-main-btn.is-open .fc-icon-close { display: block; }

/* Sub list */
.fc-sub-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    transform: translateY(12px) scale(.95);
    pointer-events: none;
    transition: all .25s cubic-bezier(.34,1.3,.64,1);
    margin-bottom: 5px;
}
.fc-sub-list.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fc-sub-item { display: flex; align-items: center; gap: 12px; }
.fc-label {
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}
.fc-sub-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: transform .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.fc-sub-btn:hover { transform: scale(1.1); color: #fff; }

.fc-sub-btn--chat      { background: #25D366; }
.fc-sub-btn--messenger { background: #0084FF; }
.fc-sub-btn--whatsapp  { background: #25D366; }
.fc-sub-btn--phone     { background: #374151; }

/* ══════════════════════════════════════════
   LIVE CHAT MODAL
══════════════════════════════════════════ */
   ✅ header green রাখা হয়েছে, কোনো red নেই
══════════════════════════════════════════ */
.lc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.lc-overlay.is-open { opacity: 1; pointer-events: auto; }

.lc-modal {
    position: fixed;
    bottom: 160px; right: 18px;
    width: 330px;
    max-height: 520px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(.97);
    transition: opacity .28s ease, transform .28s cubic-bezier(.34,1.3,.64,1);
}
.lc-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
@media(max-width:400px) {
    .lc-modal { width: calc(100vw - 36px); bottom: 150px; }
}

/* Modal header — green, no red */
.lc-header {
    background: #25d366;  /* ✅ green — লাল নেই */
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.lc-header__info { display: flex; align-items: center; gap: 10px; }
.lc-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}
.lc-header__name  { color: #fff; font-size: 13px; font-weight: 700; margin: 0; }
.lc-header__status {
    color: rgba(255,255,255,.85);
    font-size: 11px;
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.lc-dot {
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: lc-pulse 1.8s ease infinite;
}
@keyframes lc-pulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.3); }
}
.lc-close {
    background: rgba(255,255,255,.2);
    border: none;
    border-radius: 50%;
    width: 30px; height: 30px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.lc-close:hover { background: rgba(255,255,255,.35); }

/* Guest form */
.lc-guest-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f0f4f8;
}
.lc-gf-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lc-gf-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 4px;
    text-align: center;
}
.lc-gf-input {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: 'Nunito', sans-serif;
    outline: none;
    transition: border-color .2s;
}
.lc-gf-input:focus  { border-color: #25d366; }
.lc-gf-btn {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    font-family: 'Nunito', sans-serif;
}
.lc-gf-btn:hover { background: #1ebe5d; }

/* Chat body */
.lc-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f0f4f8;
}
.lc-bubble {
    max-width: 78%;
    padding: 10px 13px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.55;
}
.lc-bubble p { margin: 0; }
.lc-bubble--in {
    background: #fff;
    color: #222;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.lc-bubble--out {
    background: #25d366;  /* ✅ green — লাল নেই */
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}
.lc-time { display: block; font-size: 10px; color: #aaa; margin-top: 4px; }
.lc-bubble--out .lc-time { color: rgba(255,255,255,.7); }

/* Chat footer */
.lc-footer {
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.lc-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 22px;
    padding: 9px 14px;
    font-size: 13px;
    outline: none;
    font-family: 'Nunito', sans-serif;
    transition: border-color .2s;
}
.lc-input:focus { border-color: #25d366; }
.lc-send {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
}
.lc-send:hover { background: #1ebe5d; transform: scale(1.08); }

/* Typing indicator */
.lc-typing {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    width: fit-content;
}
.lc-typing span {
    width: 7px; height: 7px;
    background: #bbb;
    border-radius: 50%;
    animation: lc-bounce .9s ease infinite;
}
.lc-typing span:nth-child(2) { animation-delay: .15s; }
.lc-typing span:nth-child(3) { animation-delay: .30s; }
@keyframes lc-bounce {
    0%,80%,100% { transform: translateY(0); }
    40%          { transform: translateY(-6px); }
}
