/* ==========================================================================
   HOMI SUPER-APP THEME & STYLES (MATCHING SAMPLE.HTML JUSTLIFE DESIGN)
   ========================================================================== */

:root {
    --jl-primary: #00c3ff;
    --jl-primary-hover: #00b0e6;
    --jl-primary-dark: #125479;
    --jl-secondary: #ffd03e;
    --jl-color-bold: #1a3d51;
    --jl-color-text: #212121;
    --jl-color-muted: #6a737b;
    --jl-bg-light: #f8fafd;
    --jl-bg-card: #ffffff;
    --jl-border-color: #eef2f6;
    --jl-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --jl-shadow-md: 0 8px 24px rgba(18, 84, 121, 0.08);
    --jl-shadow-lg: 0 16px 40px rgba(18, 84, 121, 0.12);
    --jl-radius-sm: 8px;
    --jl-radius-md: 14px;
    --jl-radius-lg: 20px;
    --jl-radius-pill: 9999px;
    --jl-font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.body-bg {
    background-color: var(--jl-bg-light) !important;
    font-family: var(--jl-font-main) !important;
    color: var(--jl-color-text) !important;
    overflow-x: hidden;
}

/* ==========================================================================
   HERO SECTION (FULL-WIDTH JUSTLIFE BANNER)
   ========================================================================== */
.jl-hero-container,
.jl-hero-full-banner {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 520px;
    background: #0d2838;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jl-hero-full-banner .jl-hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
}

.jl-location-search-box-container .search-box-wrapper {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 8px 16px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}

.jl-hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.jl-hero-bg-wrapper img.jl-hero-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.jl-hero-bg-wrapper .jl-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 32, 46, 0.82) 0%, rgba(10, 32, 46, 0.52) 45%, rgba(10, 32, 46, 0.15) 100%);
    z-index: 2;
}

.jl-hero-overlay-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 70px 15px 80px;
    text-align: center;
}

.jl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--jl-primary-dark);
    padding: 7px 20px;
    border-radius: var(--jl-radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.jl-hero-badge svg, .jl-hero-badge i {
    color: var(--jl-primary);
}

.jl-hero-title-full {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.jl-hero-title-full span.text-highlight {
    color: #58e8ff;
    position: relative;
    display: inline-block;
}

.jl-hero-subtitle-full {
    font-size: 19px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 32px;
    max-width: 620px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.jl-location-card-center {
    background: #ffffff;
    border-radius: var(--jl-radius-md);
    padding: 24px 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.jl-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--jl-color-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

/* Location Search Box */
.jl-location-card {
    background: #ffffff;
    border-radius: var(--jl-radius-md);
    padding: 24px 28px;
    box-shadow: var(--jl-shadow-md);
    border: 1px solid rgba(0, 195, 255, 0.18);
    max-width: 540px;
    position: relative;
    z-index: 5;
    transition: box-shadow 0.3s ease;
}

.jl-location-card:hover {
    box-shadow: var(--jl-shadow-lg);
}

.jl-location-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--jl-color-bold);
    margin-bottom: 14px;
    display: block;
}

.jl-search-bar {
    display: flex;
    align-items: center;
    background: #f7f9fc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--jl-radius-pill);
    padding: 6px 8px 6px 16px;
    transition: all 0.25s ease;
    position: relative;
}

.jl-search-bar:focus-within {
    background: #ffffff;
    border-color: var(--jl-primary);
    box-shadow: 0 0 0 4px rgba(0, 195, 255, 0.15);
}

.jl-search-icon {
    color: var(--jl-primary-dark);
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.jl-search-input {
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--jl-color-text);
    width: 100%;
    outline: none;
    font-weight: 500;
}

.jl-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.jl-locate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--jl-color-bold);
    padding: 8px 16px;
    border-radius: var(--jl-radius-pill);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.jl-locate-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.jl-locate-btn i {
    color: var(--jl-primary);
}

/* Autocomplete search results */
.jl-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--jl-radius-md);
    box-shadow: var(--jl-shadow-lg);
    border: 1px solid #e2e8f0;
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.jl-search-dropdown.active {
    display: block;
}

.jl-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--jl-color-text);
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.jl-search-item:last-child {
    border-bottom: none;
}

.jl-search-item:hover {
    background: #f8fafc;
    color: var(--jl-primary-dark);
}

.jl-search-item img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
}

/* Hero Right Image */
.jl-hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jl-hero-main-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    border-radius: var(--jl-radius-lg);
    box-shadow: 0 20px 50px rgba(18, 84, 121, 0.12);
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.jl-hero-floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: var(--jl-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid rgba(0, 195, 255, 0.2);
    animation: floatAnim 3s ease-in-out infinite alternate;
}

.jl-hero-floating-badge.badge-top {
    top: 20px;
    left: -20px;
}

.jl-hero-floating-badge.badge-bottom {
    bottom: 20px;
    right: 0px;
    animation-delay: 1.5s;
}

.jl-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 195, 255, 0.15);
    color: var(--jl-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* ==========================================================================
   CATEGORY / SERVICES GRID ("LEAVE YOUR TO-DO LIST TO US!")
   ========================================================================== */
.jl-section {
    padding: 70px 0;
}

.jl-section-header {
    text-align: center;
    margin-bottom: 45px;
}

.jl-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--jl-color-bold);
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.jl-section-subtitle {
    font-size: 17px;
    color: var(--jl-color-muted);
    max-width: 600px;
    margin: 0 auto;
}

.jl-categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.jl-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 165px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.jl-category-card:hover {
    transform: translateY(-6px);
}

.jl-category-icon-box {
    width: 100%;
    height: 96px;
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: var(--jl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: var(--jl-shadow-sm);
    transition: all 0.25s ease;
}

.jl-category-card:hover .jl-category-icon-box {
    border-color: var(--jl-primary);
    background: #f7fdff;
    box-shadow: 0 10px 24px rgba(0, 195, 255, 0.15);
}

.jl-category-icon-box img {
    max-height: 54px;
    max-width: 54px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.jl-category-card:hover .jl-category-icon-box img {
    transform: scale(1.08);
}

.jl-category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--jl-color-text);
    margin-top: 12px;
    text-align: center;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.jl-category-card:hover .jl-category-name {
    color: var(--jl-primary-dark);
}

/* ==========================================================================
   TOP 4 REASONS TO LOVE HOMI (FEATURES DECK)
   ========================================================================== */
.jl-features-deck {
    background: #ffffff;
    border-radius: var(--jl-radius-lg);
    padding: 50px 30px;
    box-shadow: var(--jl-shadow-sm);
    border: 1px solid #edf2f7;
}

.jl-feature-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--jl-radius-md);
    transition: all 0.25s ease;
    height: 100%;
}

.jl-feature-card:hover {
    background: #f8fafc;
    transform: translateY(-4px);
}

.jl-feature-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(0, 195, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--jl-primary-dark);
}

.jl-feature-icon-wrapper.yellow {
    background: rgba(255, 208, 62, 0.2);
    color: #b86819;
}

.jl-feature-icon-wrapper.green {
    background: rgba(73, 163, 97, 0.18);
    color: #2b7a42;
}

.jl-feature-icon-wrapper.blue {
    background: rgba(6, 113, 224, 0.15);
    color: #0671e0;
}

.jl-feature-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--jl-color-bold);
    margin-bottom: 10px;
    line-height: 1.3;
}

.jl-feature-desc {
    font-size: 14.5px;
    color: var(--jl-color-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ==========================================================================
   THE HOMI PROMISE (ASSURANCE / GUARANTEE BANNER)
   ========================================================================== */
.jl-promise-banner {
    background: linear-gradient(135deg, #00c3ff 0%, #0671e0 100%);
    border-radius: var(--jl-radius-lg);
    padding: 44px 50px;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 195, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.jl-promise-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.jl-promise-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 36px;
}

.jl-promise-logo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.jl-promise-text h3 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.jl-promise-text p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* ==========================================================================
   HOMI STORE / E-COMMERCE PRODUCTS
   ========================================================================== */
.jl-store-card {
    background: #ffffff;
    border-radius: var(--jl-radius-md);
    border: 1px solid #edf2f7;
    overflow: hidden;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jl-store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--jl-shadow-md);
    border-color: rgba(0, 195, 255, 0.3);
}

.jl-store-img-box {
    width: 100%;
    height: 190px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jl-store-img-box img {
    max-height: 160px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.jl-store-card:hover .jl-store-img-box img {
    transform: scale(1.05);
}

.jl-store-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jl-store-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--jl-primary-dark);
}

/* ==========================================================================
   APP DOWNLOAD BANNER
   ========================================================================== */
.jl-app-section {
    background: #ffffff;
    border-radius: var(--jl-radius-lg);
    padding: 50px 60px;
    border: 1px solid #edf2f7;
    box-shadow: var(--jl-shadow-sm);
    margin: 40px 0 60px;
}

.jl-app-badge {
    color: var(--jl-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.jl-app-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--jl-color-bold);
    margin-bottom: 12px;
    line-height: 1.25;
}

.jl-app-desc {
    font-size: 16px;
    color: var(--jl-color-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.jl-app-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.jl-app-buttons a img {
    height: 44px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.jl-app-buttons a:hover img {
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 991px) {
    .jl-hero-title {
        font-size: 36px;
    }
    .jl-hero-image-wrapper {
        margin-top: 40px;
    }
    .jl-promise-content {
        flex-direction: column;
        text-align: center;
    }
    .jl-promise-banner {
        padding: 32px 24px;
    }
    .jl-app-section {
        padding: 40px 24px;
        text-align: center;
    }
    .jl-app-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .jl-hero-title {
        font-size: 28px;
    }
    .jl-hero-section {
        padding: 40px 0 60px;
    }
    .jl-location-card {
        padding: 18px 16px;
    }
    .jl-search-bar {
        flex-direction: column;
        gap: 10px;
        border-radius: var(--jl-radius-md);
        padding: 12px;
    }
    .jl-locate-btn {
        width: 100%;
        justify-content: center;
    }
    .jl-categories-grid {
        gap: 12px;
    }
    .jl-category-card {
        width: calc(50% - 10px);
    }
    .jl-category-icon-box {
        height: 80px;
    }
    .jl-feature-card {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   HEADER & NAVBAR POLISH (SUPER-APP AESTHETIC)
   ========================================================================== */
.iq-navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(18, 84, 121, 0.06) !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.top-header {
    background: linear-gradient(90deg, var(--jl-primary-dark) 0%, #0d3851 100%) !important;
    font-size: 13px !important;
    padding: 7px 0 !important;
}

.iq-nav-menu .nav-item .nav-link {
    color: var(--jl-color-bold) !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    transition: color 0.2s ease !important;
}

.iq-nav-menu .nav-item .nav-link:hover,
.iq-nav-menu .nav-item .nav-link.active {
    color: var(--jl-primary) !important;
}

/* ==========================================================================
   FOOTER POLISH (DEEP SUPER-APP SLATE)
   ========================================================================== */
footer.footer {
    background: #0d212d !important;
    border-top: 3px solid var(--jl-primary);
}

footer.footer .footer-top {
    padding: 60px 0 40px !important;
}

footer.footer a {
    color: #a4b7c6 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

footer.footer a:hover {
    color: #58e8ff !important;
}

footer.footer .footer-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.3px;
}

