
/* ==========================================
   EYERO INDIA - COMMON FOOTER
   Used on every page
========================================== */

:root {
    --footer-navy: #102344;
    --footer-blue: #159ecb;
    --footer-white: #ffffff;
}

/* FOOTER CTA BACKGROUND */

.footer-cta-section {
    width: 100%;
    padding: 0 5% 0;
    background: #f1f6fc;
}

.footer-cta-band {
    width: 100%;
    max-width: 1700px;
    min-height: 160px;
    margin: 0 auto;
    padding: 35px 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: var(--footer-navy);
    border-radius: 24px;
}

.footer-cta-content h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
}

.footer-cta-content p {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
}

.footer-cta-button {
    min-width: 180px;
    min-height: 57px;
    padding: 14px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #159ecb;
    color: #ffffff;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.footer-cta-button:hover {
    background: #087eaf;
    transform: translateY(-3px);
}

/* MAIN FOOTER */

.footer {
    width: 100%;
    padding: 78px 7% 30px;
    margin: 0;
    color: #ffffff;
    background: linear-gradient(
        105deg,
        #83d4ed 0%,
        #399fd0 28%,
        #1163a8 62%,
        #082344 100%
    );
}

.footer-content {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding-bottom: 65px;
    display: grid;
    grid-template-columns: 1.55fr 0.9fr 0.9fr 1.1fr;
    column-gap: 55px;
    align-items: start;
}

/* BRAND COLUMN */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 15px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 32px;
}

.footer-logo img {
    display: block;
    width: 175px;
    height: 85px;
    object-fit: contain;
}

.footer-brand h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.4;
}

.footer-brand p {
    max-width: 340px;
    margin: 0;
    color: #f4fbff;
    font-size: 16px;
    line-height: 1.9;
}

/* FOOTER LINK COLUMNS */

.footer-links h3 {
    position: relative;
    margin: 0 0 35px;
    padding-bottom: 17px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
}

.footer-links h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 5px;
    background: #19c5ed;
    border-radius: 10px;
}

.footer-links > a {
    display: block;
    width: fit-content;
    margin: 0 0 17px;
    color: #f4fbff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.25s ease;
}

.footer-links > a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* CONTACT COLUMN */

.footer-contact a,
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 28px;
    color: #f4fbff;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.footer-contact span {
    min-width: 21px;
    color: #16d1f5;
    font-size: 20px;
    font-weight: 700;
}

/* BOTTOM COPYRIGHT BAR */

.footer-bottom {
    width: 100%;
    max-width: 1650px;
    min-height: 55px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #f4fbff;
    font-size: 15px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-bottom-links a,
.footer-bottom-links span {
    color: #f4fbff;
    font-size: 15px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .footer-content {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 45px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-cta-band {
        padding: 32px 38px;
    }

    .footer-cta-content h2 {
        font-size: 23px;
    }

    .footer-links h3 {
        font-size: 21px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .footer-cta-section {
        padding: 0 5%;
    }

    .footer-cta-band {
        min-height: auto;
        padding: 28px 23px;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 17px;
        gap: 22px;
    }

    .footer-cta-content h2 {
        font-size: 21px;
    }

    .footer-cta-content p {
        font-size: 14px;
    }

    .footer-cta-button {
        min-height: 48px;
        min-width: 150px;
        font-size: 13px;
    }

    .footer {
        padding: 48px 6% 25px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 38px 22px;
        padding-bottom: 38px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-logo img {
        width: 155px;
        height: 75px;
    }

    .footer-brand h3 {
        font-size: 20px;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-links h3 {
        font-size: 19px;
        margin-bottom: 27px;
    }

    .footer-links h3::after {
        width: 60px;
        height: 4px;
    }

    .footer-links > a {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .footer-contact a,
    .footer-contact p {
        font-size: 13px;
        gap: 8px;
        margin-bottom: 20px;
    }

    .footer-contact span {
        font-size: 17px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom p,
    .footer-bottom-links a,
    .footer-bottom-links span {
        font-size: 12px;
    }
}

/* VERY SMALL SCREENS */

@media (max-width: 380px) {

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* =========================================
   EYERO COMMON FOOTER SIZE FIX
   Same footer dimensions on every page
========================================= */

.footer-cta-band {
    padding: 28px 8% !important;
    min-height: 100px;
}

.footer {
    padding: 42px 8% 16px !important;
}

.footer-content {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr !important;
    gap: 30px !important;
    padding-bottom: 28px !important;
}

.footer-logo img {
    width: 170px !important;
    height: 65px !important;
}

.footer-bottom {
    padding-top: 16px !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-cta-band {
        padding: 25px 6% !important;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer {
        padding: 42px 6% 16px !important;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   EYERO FLOATING CONTACT BUTTONS
========================================== */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.float-whatsapp,
.float-call {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.3s ease;
}

.float-whatsapp {
    background: #20c76a;
}

.float-call {
    background: #159ecb;
}

.float-whatsapp:hover,
.float-call:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   PHONE POPUP OVERLAY
========================================== */

.eyero-call-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 25, 48, 0.65);

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show popup only when activated */

.eyero-call-overlay.eyero-popup-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================
   PHONE POPUP BOX
========================================== */

.eyero-call-modal {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 38px 30px;
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);

    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.eyero-call-overlay.eyero-popup-active .eyero-call-modal {
    transform: translateY(0);
}

.eyero-modal-close {
    position: absolute;
    top: 14px;
    right: 17px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #edf4f9;
    color: #102344;
    font-size: 23px;
    cursor: pointer;
}

.eyero-modal-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f6fc;
    color: #159ecb;
    font-size: 28px;
}

.eyero-call-modal h2 {
    margin: 0 0 10px;
    color: #102344;
    font-size: 24px;
    font-weight: 800;
}

.eyero-modal-subtitle {
    margin: 0 0 25px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* PHONE NUMBER ROWS */

.eyero-phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
    padding: 14px;
    border: 1px solid #dce9f2;
    border-radius: 11px;
    background: #f7fbfe;
}

.eyero-phone-row a {
    color: #102344;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.eyero-copy-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 7px;
    background: #e3f4fb;
    color: #087eaf;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.eyero-copy-btn:hover {
    background: #ccecf8;
}

/* CALL NOW BUTTON */

.eyero-call-now {
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #159ecb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.eyero-call-now:hover {
    background: #087eaf;
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 480px) {

    .floating-contact {
        right: 15px;
        bottom: 18px;
    }

    .float-whatsapp,
    .float-call {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .eyero-call-modal {
        padding: 35px 20px 25px;
    }

    .eyero-call-modal h2 {
        font-size: 21px;
    }

    .eyero-phone-row {
        padding: 12px 10px;
    }

    .eyero-phone-row a {
        font-size: 13px;
    }
}
.footer .footer-logo img {
    display: block !important;
    width: 180px !important;
    height: 75px !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: left center;
    opacity: 1 !important;
    visibility: visible !important;
}
.footer .footer-logo img {
    width: 240px !important;
    height: 110px !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: left center;
}

/* ==========================================
   EYERO COMMON NAVIGATION
========================================== */

.site-header {
    width: 100%;
    height: 90px;
    min-height: 90px;
    padding: 0 7%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    background: #ffffff;
    box-sizing: border-box;
}

/* LOGO SIZE */

.site-logo {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
}

.site-logo img {
    width: 210px;
    height: 75px;
    display: block;
    object-fit: contain;
}

/* NAVIGATION LINKS */

.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    white-space: nowrap;
}

.main-navigation > a,
.legal-toggle {
    color: #102344;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #159ecb;
}

/* LEGAL DROPDOWN */

.legal-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.legal-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.legal-menu:hover .legal-dropdown,
.legal-menu:focus-within .legal-dropdown {
    display: flex;
}

.legal-dropdown a {
    color: #102344;
    font-size: 13px;
    text-decoration: none;
}

/* LOGIN BUTTON */

.site-login {
    flex: 0 0 105px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    background: #159ecb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* MOBILE MENU BUTTON */

.nav-toggle {
    display: none;
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {

    .site-header {
        height: 78px;
        min-height: 78px;
        padding: 0 5%;
    }

    .site-logo {
        flex: 0 0 150px;
    }

    .site-logo img {
        width: 145px;
        height: 58px;
    }

    .nav-toggle {
        display: block;
        border: none;
        background: transparent;
        color: #102344;
        font-size: 27px;
        cursor: pointer;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 5%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .main-navigation.active {
        display: flex;
    }

    .site-login {
        flex: 0 0 85px;
        height: 38px;
        font-size: 12px;
    }

    .legal-menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-dropdown {
        position: static;
        box-shadow: none;
        padding: 12px 0 0 12px;
    }
}
