
/* =========================================================
   NEHA EYE CENTRE - FOOTER
   ========================================================= */

.site-footer {
    width: 96%;
    margin: 35px auto 15px;
    background: linear-gradient(135deg, #00a99d 0%, #008fba 100%);
    border-radius: 18px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 120, 140, 0.20);
}

.footer-inner {
    min-height: 190px;
    padding: 32px 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    box-sizing: border-box;
}

/* LEFT */

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-brand h3 {
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.footer-address {
    margin: 0 0 12px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.96);
}

.footer-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 17px;
}

.footer-copyright {
    margin: 10px 0 5px;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-powered {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.90);
}

.footer-powered a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    transition: 0.25s ease;
}

.footer-powered a:hover {
    color: #fff5a8;
    border-color: #fff5a8;
}


/* RIGHT */

.footer-right {
    min-width: 300px;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.footer-right h3 {
    margin: 0 0 18px;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.consultation-time {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-family: "Poppins", sans-serif;
}

.consultation-time:last-child {
    margin-bottom: 0;
}

.consultation-time .footer-icon {
    font-size: 18px;
    margin-right: 9px;
    line-height: 1.5;
}

.consultation-time div {
    display: flex;
    flex-direction: column;
}

.consultation-time strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.consultation-time span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}


/* =========================================================
   WHATSAPP CHAT
   ========================================================= */

.whatsapp-chatbox {
    position: fixed;
    right: 25px;
    bottom: 92px;
    width: 330px;
    max-width: calc(100vw - 30px);
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    font-family: "Poppins", sans-serif;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.whatsapp-chatbox.hidden {
    display: none;
}

.whatsapp-chatbox.minimized .whatsapp-chat-body {
    display: none;
}


/* WhatsApp Header */

.whatsapp-chat-header {
    background: linear-gradient(135deg, #12b96c, #079447);
    padding: 13px 14px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-logo {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: #ffffff;
    color: #0aa65b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.whatsapp-header-info div:last-child {
    display: flex;
    flex-direction: column;
}

.whatsapp-header-info strong {
    font-size: 14px;
    line-height: 1.4;
}

.whatsapp-header-info span {
    font-size: 10px;
    opacity: 0.90;
}

.whatsapp-header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.whatsapp-header-actions button {
    border: none;
    background: transparent;
    color: #ffffff;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.whatsapp-header-actions button:hover {
    background: rgba(255, 255, 255, 0.18);
}


/* Chat Body */

.whatsapp-chat-body {
    padding: 18px;
    background: #f4f8f7;
}

.whatsapp-message {
    position: relative;
    display: inline-block;
    max-width: 90%;
    background: #ffffff;
    color: #333333;
    padding: 13px 15px 19px;
    border-radius: 4px 14px 14px 14px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    line-height: 1.55;
}

.whatsapp-message-time {
    position: absolute;
    right: 9px;
    bottom: 4px;
    font-size: 9px;
    color: #999999;
}

.whatsapp-start-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 15px;
    border-radius: 9px;
    background: #16b967;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.whatsapp-start-chat:hover {
    background: #0b9954;
    transform: translateY(-1px);
}

.whatsapp-start-chat span {
    font-size: 17px;
}


/* Floating Button */

.whatsapp-floating-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #20d675, #079447);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 150, 80, 0.35);
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.whatsapp-floating-button:hover {
    transform: scale(1.08);
}

.whatsapp-floating-button span {
    font-size: 25px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .site-footer {
        width: 98%;
        margin-top: 25px;
        border-radius: 14px;
    }

    .footer-inner {
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .footer-left {
        text-align: left;
    }

    .footer-brand h3 {
        font-size: 21px;
    }

    .footer-address {
        font-size: 13px;
    }

    .footer-right {
        min-width: 0;
        padding: 18px 20px;
    }

    .footer-right h3 {
        font-size: 18px;
    }

    .whatsapp-chatbox {
        right: 15px;
        bottom: 88px;
        width: 320px;
        max-width: calc(100vw - 30px);
    }

    .whatsapp-floating-button {
        right: 15px;
        bottom: 20px;
        width: 53px;
        height: 53px;
    }
}


/* Very small screens */

@media (max-width: 400px) {

    .footer-inner {
        padding: 22px 16px;
    }

    .whatsapp-chatbox {
        width: calc(100vw - 20px);
        right: 10px;
    }

    .whatsapp-floating-button {
        right: 12px;
    }
}
.whatsapp-logo svg {
    width: 24px;
    height: 24px;
    fill: #0aa65b;
    display: block;
}

.whatsapp-floating-icon svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    display: block;
}
