/* ==========================================================================
   LifeSmart Testimonials, Promo Banners, and Luxury Footer Styles
   Pixel-perfect match to design mockup with full mobile responsiveness
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Testimonials Section ("What Our Customers Say")
   -------------------------------------------------------------------------- */
.ls-testimonials-section {
    padding: 60px 20px 70px 20px;
    background: #ffffff;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    border-top: 1px solid #f1f5f9;
}

.ls-testimonials-container {
    max-width: 1320px;
    margin: 0 auto;
}

.ls-testimonials-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

/* Nav Arrow Buttons */
.ls-testi-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0c2b48;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(12, 43, 72, 0.08);
    z-index: 5;
    flex-shrink: 0;
    transition: all 0.25s ease;
    padding: 0;
}

.ls-testi-nav svg {
    width: 20px;
    height: 20px;
}

.ls-testi-nav:hover {
    background: #0c2b48;
    color: #ffffff;
    border-color: #0c2b48;
    transform: scale(1.08);
}

.ls-testi-nav:active {
    transform: scale(0.96);
}

/* Viewport & Track */
.ls-testimonials-viewport {
    flex-grow: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 2px;
}

.ls-testimonials-viewport::-webkit-scrollbar {
    display: none;
}

.ls-testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* Testimonial Card */
.ls-testi-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 4px 18px rgba(12, 43, 72, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 170px;
}

.ls-testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(12, 43, 72, 0.09);
    border-color: #cbd5e1;
}

.ls-testi-quote {
    font-size: 14.5px;
    color: #1e293b;
    line-height: 1.55;
    margin: 0 0 16px 0;
    font-style: normal;
    font-weight: 400;
}

.ls-testi-rating {
    margin-bottom: 12px;
}

.ls-testi-stars {
    color: #eab308;
    font-size: 14px;
    letter-spacing: 2px;
}

.ls-testi-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ls-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-author-avatar svg {
    width: 16px;
    height: 16px;
}

.ls-author-name {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   2. Promo Banners Section (3 Banners)
   -------------------------------------------------------------------------- */
.ls-promo-banners-section {
    padding: 10px 20px 60px 20px;
    background: #ffffff;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ls-promo-container {
    max-width: 1320px;
    margin: 0 auto;
}

.ls-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ls-promo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 135px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.ls-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.ls-promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ls-promo-card:hover .ls-promo-bg {
    transform: scale(1.08);
}

.ls-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 34, 0.88) 0%, rgba(6, 20, 34, 0.5) 60%, rgba(6, 20, 34, 0.2) 100%);
    z-index: 2;
}

.ls-promo-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 24px;
}

.ls-promo-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.ls-promo-sub {
    font-size: 13.5px;
    color: #f1f5f9;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.ls-promo-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.ls-promo-arrow svg {
    width: 18px;
    height: 18px;
}

.ls-promo-card:hover .ls-promo-arrow {
    background: #ffffff;
    color: #081d30;
    border-color: #ffffff;
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   3. Luxury Footer Section
   -------------------------------------------------------------------------- */
.ls-site-footer {
    background-color: #081d30;
    color: #cbd5e1;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

.ls-footer-main {
    padding: 65px 20px 50px 20px;
}

.ls-footer-container {
    max-width: 1320px;
    margin: 0 auto;
}

.ls-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.8fr 1.6fr;
    gap: 36px;
    align-items: start;
}

/* Brand Column */
.ls-footer-logo-link {
    display: inline-block;
    margin-bottom: 22px;
}

.ls-footer-logo {
    max-width: 185px;
    height: auto;
    display: block;
}

.ls-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.25s ease;
    text-decoration: none;
}

.ls-social-btn svg {
    width: 16px;
    height: 16px;
}

.ls-social-btn:hover {
    background: #e5a93b;
    border-color: #e5a93b;
    color: #081d30;
    transform: translateY(-2px);
}

/* Column Headings */
.ls-footer-heading {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: 0.2px;
}

/* Links List */
.ls-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ls-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.ls-footer-links a:hover {
    color: #e5a93b;
    transform: translateX(4px);
}

/* Customer Care List */
.ls-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ls-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #94a3b8;
}

.ls-contact-svg {
    width: 17px;
    height: 17px;
    stroke: #e5a93b;
    flex-shrink: 0;
    margin-top: 2px;
}

.ls-footer-contact-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ls-footer-contact-list a:hover {
    color: #e5a93b;
}

/* Payment Badges */
.ls-payment-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.ls-pay-badge {
    padding: 3px 8px;
    background: #ffffff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    height: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ls-pay-visa {
    color: #1a1f71;
    font-style: italic;
    font-family: Arial, sans-serif;
}

.ls-pay-mc {
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.ls-pay-mc .mc-c1 {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #eb001b;
}
.ls-pay-mc .mc-c2 {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f79e1b;
    margin-left: -5px;
    opacity: 0.9;
}

.ls-pay-rupay {
    color: #0c2340;
    font-weight: 900;
}

.ls-pay-upi {
    color: #5f259f;
    font-weight: 900;
}

/* Sample Invoice Thumbnail Box */
.ls-sample-invoice-box {
    margin-top: 4px;
}

.ls-invoice-label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 600;
}

.ls-invoice-thumb-wrap {
    width: 66px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.ls-invoice-thumb-wrap:hover {
    transform: scale(1.08);
    border-color: #e5a93b;
}

.ls-invoice-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ls-invoice-view-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 11.5px;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ls-invoice-view-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Footer Bottom Bar
   -------------------------------------------------------------------------- */
.ls-footer-bottom {
    background-color: #051422;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 20px;
    font-size: 12.5px;
    color: #94a3b8;
}

.ls-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ls-sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Invoice Lightbox Modal
   -------------------------------------------------------------------------- */
.ls-invoice-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ls-invoice-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.ls-invoice-dialog {
    position: relative;
    z-index: 10;
    max-width: 650px;
    width: 90%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ls-invoice-modal.show .ls-invoice-dialog {
    transform: scale(1);
}

.ls-invoice-modal-content {
    padding: 24px;
}

.ls-invoice-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.ls-invoice-header-bar h4 {
    margin: 0;
    font-size: 16px;
    color: #081d30;
    font-weight: 700;
}

.ls-gst-badge {
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.ls-invoice-preview-screen {
    text-align: center;
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    background: #f8fafc;
}

.ls-full-invoice-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) {
    .ls-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .ls-promo-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ls-promo-card {
        height: 110px;
    }
    .ls-testi-card {
        min-height: 160px;
    }
}

/* Mobile Screens (< 768px) */
@media screen and (max-width: 767px) {
    .ls-testimonials-section {
        padding: 45px 16px 50px 16px;
    }
    .ls-promo-banners-section {
        padding: 10px 16px 45px 16px;
    }
    .ls-footer-main {
        padding: 45px 16px 35px 16px;
    }

    /* Testimonials on mobile: touch-swipeable single card snap */
    .ls-testi-nav {
        display: none;
    }
    .ls-testimonials-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        width: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ls-testi-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: center;
    }

    /* Promo Banners */
    .ls-promo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ls-promo-card {
        height: 105px;
    }
    .ls-promo-title {
        font-size: 17px;
    }
    .ls-promo-sub {
        font-size: 12.5px;
    }

    /* Footer */
    .ls-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ls-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
