/* =========================
ROOT VARIABLES
========================= */

:root{

    --primary:#0151e3;
    --secondary:#128c4a;

    --white:#ffffff;

    --bg:#f5f7fb;
    --card:#ffffff;

    --text:#111111;
    --text-light:#666666;

    --border:#e5e7eb;

}

/* =========================
DARK MODE
========================= */

body.dark-mode{

    --bg:#0f172a;
    --card:#1e293b;

    --text:#ffffff;
    --text-light:#cbd5e1;

    --border:#334155;

}

/* =========================
GLOBAL
========================= */

body{

    background:var(--bg);

    color:var(--text);

    font-family:Arial,sans-serif;

    transition:0.3s;

}

/* =========================
NAVBAR
========================= */

.navbar{

    background:var(--card) !important;

    padding:15px 0;

    border-bottom:
    1px solid var(--border);

}

.navbar-brand{

    color:var(--primary) !important;

    font-weight:800;

}

/* Dark mode navbar links */
body.dark-mode .navbar-nav .nav-link,
body.dark-mode .navbar .btn-outline-light {
    color: var(--text) !important;
}

body.dark-mode .navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* =========================
HERO SECTION
========================= */

.hero-subtitle{

    font-size:18px;

    color:var(--text-light);

    max-width:700px;

    margin:auto;

    margin-bottom:30px;

}

.search-box{

    background:var(--card);

    padding:15px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

    max-width:900px;

    margin:auto;

}

.search-input{

    height:48px;

    border-radius:12px;

    background:var(--bg);

    border:1px solid var(--border);

    color:var(--text);

}

.search-btn{

    height:48px;

    border-radius:12px;

    background:var(--primary);

    border:none;

}

.search-btn:hover{

    background:#003db1;

}

/* =========================
CATEGORY CARD
========================= */

.category-card{

    background:var(--card);

    border-radius:16px;

    padding:20px;

    text-align:center;

    transition:0.3s;

    cursor:pointer;

    border:1px solid var(--border);

}

.category-card:hover{

    transform:translateY(-3px);

}

.category-icon{

    width:60px;
    height:60px;

    margin:auto;
    margin-bottom:15px;

    border-radius:16px;

    background:
    rgba(1,81,227,0.08);

    display:flex;

    align-items:center;
    justify-content:center;

}

.category-icon i{

    font-size:26px;

    color:var(--primary);

}

/* =========================
BUTTONS
========================= */

.btn-dark{

    background:var(--primary);

    border:none;

}

.btn-dark:hover{

    background:#003db1;

}

.btn-success{

    background:var(--secondary);

    border:none;

}
.category-hero{

    background:
    linear-gradient(
    135deg,
    #0151e3,
    #128c4a
    );

}

.hero-category-icon{

    width:90px;
    height:90px;

    border-radius:20px;

    background:
    rgba(255,255,255,0.15);

    display:flex;
    align-items:center;
    justify-content:center;

    backdrop-filter:blur(10px);

}

.hero-category-icon i{

    font-size:38px;
    color:#fff;

}

.hero-stat-box{

    background:
    rgba(255,255,255,0.12);

    color:#fff;

    padding:10px 18px;

    border-radius:12px;

    backdrop-filter:blur(10px);

    font-size:13px;

}

.business-card-modern{

    background:var(--bs-body-bg);

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 3px 12px rgba(0,0,0,0.06);

    transition:0.3s;

    height:100%;

    border:1px solid rgba(0,0,0,0.05);

}

.business-card-modern:hover{

    transform:translateY(-4px);

    box-shadow:
    0 10px 25px rgba(0,0,0,0.1);

}

.business-image-wrapper{

    position:relative;

}

.business-image{

    width:100%;
    height:180px;
    object-fit:cover;

}

.business-image-placeholder{

    width:100%;
    height:180px;

    background:#e9ecef;

    display:flex;
    align-items:center;
    justify-content:center;

}

.business-image-placeholder i{

    font-size:48px;
    color:#999;

}

.featured-badge{

    position:absolute;
    top:12px;
    left:12px;

    background:#0151e3;

    color:#fff;

    padding:4px 12px;

    border-radius:30px;

    font-size:11px;
    font-weight:600;

}

.view-btn{

    color:#0151e3;
    font-weight:600;
    font-size:14px;

}

[data-bs-theme="dark"] .business-card-modern{

    border:
    1px solid rgba(255,255,255,0.08);

}

[data-bs-theme="dark"] .business-image-placeholder{

    background:#1f2937;

}

[data-bs-theme="dark"] .text-dark{

    color:#fff !important;

}

.hero-search-card{

    background:#fff;

    padding:18px;

    border-radius:24px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

}

.location-box{

    height:52px;

    border:
    1px solid #ddd;

    border-radius:14px;

    display:flex;
    align-items:center;
    gap:10px;

    padding:0 14px;

    font-weight:600;
    font-size:14px;

}

.hero-search-input{

    height:52px;

    border-radius:14px;

    padding-left:16px;

    border:1px solid #ddd;
    font-size:14px;

}

.hero-search-btn{

    height:52px;

    border-radius:14px;

    background:#0151e3;
    border:none;

    font-weight:600;
    font-size:14px;

}

.hero-search-btn:hover{

    background:#0143bc;

}

[data-bs-theme="dark"] .hero-search-card{

    background:#111827;

}

[data-bs-theme="dark"] .location-box,
[data-bs-theme="dark"] .hero-search-input{

    background:#1f2937;
    border-color:#374151;
    color:#fff;

}
.hero-section{

    padding:40px 0 40px;

    background:
    linear-gradient(
    135deg,
    #0151e3,
    #128c4a
    );

}

.hero-overlay{

    position:absolute;
    inset:0;

    background:
    radial-gradient(
    circle at top right,
    rgba(255,255,255,0.12),
    transparent 40%
    );

}

.hero-badge{

    background:
    rgba(255,255,255,0.14);

    color:#fff;

    padding:8px 20px;

    border-radius:40px;

    display:inline-flex;
    align-items:center;
    gap:8px;

    backdrop-filter:blur(10px);

    font-weight:600;
    font-size:14px;

}

.hero-title{

    color:#fff;

    font-size:48px;

    font-weight:800;

    line-height:1.2;

    margin-bottom:20px;

}

.hero-highlight{

    color:#ffd54f;

}

.hero-subtitle{

    color:rgba(255,255,255,0.85);

    font-size:17px;

    max-width:780px;

    margin:auto auto 30px;

    line-height:1.6;

}

.hero-search-card{

    background:#fff;

    padding:18px;

    border-radius:24px;

    box-shadow:
    0 15px 35px rgba(0,0,0,0.1);

}

.location-box{

    height:54px;

    border:
    1px solid #ddd;

    border-radius:16px;

    display:flex;
    align-items:center;
    gap:10px;

    padding:0 16px;

    font-weight:600;
    font-size:14px;

}

.hero-search-input{

    height:54px;

    border-radius:16px;

    border:1px solid #ddd;

    padding-left:18px;

    font-size:14px;

}

.hero-search-btn{

    height:54px;

    border-radius:16px;

    background:#0151e3;

    color:#fff;

    border:none;

    font-weight:700;
    font-size:14px;

}

.hero-search-btn:hover{

    background:#0142bb;
    color:#fff;

}

.quick-search-tags{

    margin-top:25px;

    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;

}

.quick-search-tags a{

    text-decoration:none;

    color:#fff;

    background:
    rgba(255,255,255,0.12);

    padding:8px 16px;

    border-radius:40px;

    transition:0.3s;
    font-size:14px;

}

.quick-search-tags a:hover{

    background:#fff;
    color:#0151e3;

}

.category-card-modern{

    background:var(--bs-body-bg);

    border-radius:18px;

    padding:18px;

    height:100%;

    display:flex;
    align-items:center;
    gap:14px;

    border:
    1px solid rgba(0,0,0,0.06);

    transition:0.3s;

    box-shadow:
    0 4px 12px rgba(0,0,0,0.04);

}

.category-card-modern:hover{

    transform:translateY(-3px);

    box-shadow:
    0 12px 24px rgba(0,0,0,0.1);

}

.category-icon-modern{

    width:55px;
    height:55px;

    border-radius:16px;

    background:
    linear-gradient(
    135deg,
    #0151e3,
    #128c4a
    );

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

}

.category-icon-modern i{

    color:#fff;
    font-size:24px;

}

.category-card-modern h5{
    font-size:15px;
    margin-bottom:2px;
}

.category-card-modern p{
    font-size:11px;
}

/* =========================
BUSINESS CARDS - FIXED FOR DARK MODE
========================= */

.business-card-home{

    background:var(--card);

    border-radius:18px;

    overflow:hidden;

    border:
    1px solid var(--border);

    transition:0.3s;

    box-shadow:
    0 4px 12px rgba(0,0,0,0.04);

}

.business-card-home:hover{

    transform:translateY(-4px);

    box-shadow:
    0 12px 24px rgba(0,0,0,0.1);

}

/* Ensure all text inside business cards uses theme colors */
.business-card-home,
.business-card-home * {
    color: var(--text);
}

.business-card-home .text-muted {
    color: var(--text-light) !important;
}

.business-card-home .view-btn {
    color: var(--primary) !important;
}

.business-image{

    width:100%;
    height:170px;
    object-fit:cover;

}

.business-placeholder{

    width:100%;
    height:170px;

    background:#e9ecef;

    display:flex;
    align-items:center;
    justify-content:center;

}

.business-placeholder i{

    font-size:48px;
    color:#999;

}

body.dark-mode .business-placeholder {
    background: #1f2937;
}

body.dark-mode .business-placeholder i {
    color: #6b7280;
}

.business-card-home .p-4{
    padding: 16px !important;
}

.business-card-home h5{
    font-size: 16px;
    margin-bottom: 4px;
}

.business-card-home .text-muted.small{
    font-size: 12px;
}

.business-short-desc{
    font-size: 13px;
    margin-bottom: 0;
}

.business-views{
    font-size: 12px;
}

.view-btn{

    color:#0151e3;
    font-weight:600;
    font-size:13px;

}

[data-bs-theme="dark"] .hero-search-card{

    background:#111827;

}

[data-bs-theme="dark"] .location-box,
[data-bs-theme="dark"] .hero-search-input{

    background:#1f2937;
    border-color:#374151;
    color:#fff;

}

[data-bs-theme="dark"] .category-card-modern,
[data-bs-theme="dark"] .business-card-home{

    border:
    1px solid rgba(255,255,255,0.08);

}

[data-bs-theme="dark"] .text-dark{

    color:#fff !important;

}

/* =========================
CATEGORY PAGE SLIDER/BANNER - PRESERVE COLORS
========================= */

/* Category hero banner - KEEP ORIGINAL COLORS, NO DARK MODE CHANGE */
.category-hero,
.hero-category-section {
    background: linear-gradient(135deg, #0151e3, #128c4a) !important;
}

.category-hero *,
.hero-category-section * {
    color: #ffffff !important;
}

/* Category slider/banner images and backgrounds - preserve original */
.category-slider,
.category-banner {
    background: inherit;
}

/* Category page cards - update for dark mode */
.category-page-card {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
}

body.dark-mode .category-page-card {
    background: var(--card);
    color: var(--text);
}

/* =========================
CATEGORIES - 5 PER ROW ON LARGE SCREENS
========================= */
@media (min-width: 1200px) {
    .py-5 .row.g-4 .col-lg-3,
    .row.g-4 > .col-lg-3 {
        width: 20%;
        flex: 0 0 auto;
    }
}

/* Categories - 3 per row on medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
    .py-5 .row.g-4 .col-md-4,
    .row.g-4 > .col-md-4 {
        width: 33.333%;
        flex: 0 0 auto;
    }
}

/* =========================
FEATURED BUSINESSES - 4 PER ROW ON LARGE SCREENS
========================= */
@media (min-width: 1200px) {
    .pb-5 .row.g-4 .col-lg-4,
    .row.g-4 > .col-lg-4 {
        width: 25%;
        flex: 0 0 auto;
    }
}

/* Featured Businesses - 2 per row on medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
    .pb-5 .row.g-4 .col-md-6,
    .row.g-4 > .col-md-6 {
        width: 50%;
        flex: 0 0 auto;
    }
}

/* =========================
MOBILE RESPONSIVE - 2 PER ROW ON TABLETS & 1 ON PHONES
========================= */
@media (max-width: 767px) {
    /* Categories - 2 per row on mobile */
    .py-5 .row.g-4 .col-6,
    .row.g-4 > .col-6 {
        width: 50%;
        flex: 0 0 auto;
    }
    
    /* Featured Businesses - 2 per row on mobile */
    .pb-5 .row.g-4 .col-6,
    .row.g-4 > .col-6 {
        width: 50%;
        flex: 0 0 auto;
    }
    
    .hero-section{
        padding: 30px 0;
    }
    
    .hero-title{
        font-size: 32px;
    }
    
    .hero-subtitle{
        font-size: 15px;
    }
    
    .journey-card .btn-lg{
        padding: 10px 24px;
        font-size: 15px;
    }
}

/* Small mobile devices - 1 per row */
@media (max-width: 480px) {
    .py-5 .row.g-4 .col-6,
    .pb-5 .row.g-4 .col-6 {
        width: 100%;
        flex: 0 0 auto;
    }
    
    .hero-title{
        font-size: 28px;
    }
    
    .hero-badge{
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .category-card-modern{
        padding: 12px;
        gap: 10px;
    }
    
    .category-icon-modern{
        width: 48px;
        height: 48px;
    }
    
    .category-icon-modern i{
        font-size: 20px;
    }
    
    .category-card-modern h5{
        font-size: 13px;
    }
    
    .business-card-home .p-4{
        padding: 12px !important;
    }
    
    .business-image{
        height: 140px;
    }
}

/* =========================
FEATURED CROWN
========================= */

.featured-crown{

    position:absolute;

    top:12px;
    left:12px;

    width:36px;
    height:36px;

    border-radius:50%;

    background:linear-gradient(
    135deg,
    #0151e3,
    #128c4a
    );

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    font-size:16px;

    z-index:10;

    box-shadow:
    0 6px 15px rgba(1,81,227,0.3);

}

/* =========================
BOTTOM SECTION
========================= */

.business-bottom{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-top:14px;

}

/* =========================
VERIFIED BADGE
========================= */

.verified-badge{

    width:30px;
    height:30px;

    border-radius:50%;

    background:
    rgba(18,140,74,0.12);

    color:#128c4a;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:15px;

}

/* =========================
HOVER EFFECT
========================= */

.business-card-home:hover .featured-crown{

    transform:rotate(-8deg) scale(1.05);

    transition:0.3s;

}

.business-card-home:hover .verified-badge{

    transform:scale(1.05);

    transition:0.3s;

}

/* =========================
DARK MODE
========================= */

[data-bs-theme="dark"] .verified-badge{

    background:
    rgba(18,140,74,0.18);

}

/* =========================
FOOTER
========================= */

.footer-section{

    background:#0f172a;

    color:#fff;

    padding-top:60px;

    margin-top:60px;

}

.footer-logo{

    font-size:28px;

    font-weight:800;

    color:#fff;

}

.footer-text{

    color:rgba(255,255,255,0.7);

    line-height:1.7;

    margin-bottom:20px;
    font-size:14px;

}

.footer-title{

    font-size:16px;

    font-weight:700;

    margin-bottom:20px;

}

.footer-links{

    list-style:none;

    padding:0;

    margin:0;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:rgba(255,255,255,0.7);

    text-decoration:none;

    transition:0.3s;
    font-size:14px;

}

.footer-links a:hover{

    color:#fff;

    padding-left:5px;

}

.footer-contact{

    list-style:none;

    padding:0;

    margin:0;

}

.footer-contact li{

    margin-bottom:14px;

    color:rgba(255,255,255,0.7);

    display:flex;

    align-items:center;

    gap:10px;
    font-size:14px;

}

.footer-contact i{

    color:#3b82f6;

    font-size:16px;

}

.footer-socials{

    display:flex;

    gap:10px;

}

.footer-socials a{

    width:36px;

    height:36px;

    border-radius:50%;

    background:rgba(255,255,255,0.08);

    display:flex;

    align-items:center;
    justify-content:center;

    color:#fff;

    text-decoration:none;

    transition:0.3s;

}

.footer-socials a:hover{

    background:#3b82f6;

    transform:translateY(-3px);

}

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,0.08);

    margin-top:50px;

    padding:20px 0;

}

.footer-bottom p{

    color:rgba(255,255,255,0.6);
    font-size:13px;

}

.footer-bottom-link{

    color:rgba(255,255,255,0.7);

    text-decoration:none;

    margin-left:18px;

    transition:0.3s;
    font-size:13px;

}

.footer-bottom-link:hover{

    color:#fff;

}

[data-bs-theme="dark"] .footer-section{

    background:#020617;

}

@media(max-width:768px){

    .footer-section{

        padding-top:50px;

    }

    .footer-bottom{

        text-align:center;

    }

    .footer-bottom .text-md-end{

        text-align:center !important;

        margin-top:12px;

    }

}

.policy-page{
    padding:60px 0;
    background:#f5f7fb;
}

.policy-box{
    background:#fff;
    padding:40px;
    border-radius:20px;
    max-width:900px;
    margin:auto;
    box-shadow:0 8px 30px rgba(0,0,0,0.06);
}

.policy-box h1{
    font-size:36px;
    margin-bottom:10px;
    color:#061a44;
}

.policy-date{
    color:#666;
    margin-bottom:30px;
    font-size:14px;
}

.policy-box h2{
    font-size:22px;
    margin-top:25px;
    margin-bottom:10px;
    color:#0d6efd;
}

.policy-box p{
    color:#444;
    line-height:1.8;
    font-size:15px;
}

@media(max-width:768px){

    .policy-box{
        padding:25px 18px;
    }

    .policy-box h1{
        font-size:28px;
    }

}
.footer-logo-image{

    height:80px;

    width:auto;

    object-fit:contain;

}

/* =========================
HEADER LOGO
========================= */

.header-logo{

    height:45px;

    width:auto;

    object-fit:contain;

}

/* MOBILE */

@media(max-width:768px){

    .header-logo{

        height:38px;

    }

}
/* =========================
PREMIUM PACKAGE MODAL (LIGHT + DARK SUPPORT)
========================= */

#packageModal .modal-content{

    border: none;
    border-radius: 20px;
    overflow: hidden;

    background: var(--card);

    box-shadow: 0 20px 60px rgba(0,0,0,0.15);

    transition: 0.3s ease;
}

/* =========================
MODAL HEADER
========================= */

#packageModal .modal-header{

    border-bottom: none;

    padding: 18px 22px;

    background: linear-gradient(
        135deg,
        #0151e0,
        #128c4a
    );

    color: #fff;

}

#packageModal .modal-header h5{

    margin: 0;

    font-weight: 800;
    font-size: 18px;

    letter-spacing: 0.3px;

}

#packageModal .btn-close{

    filter: invert(1);

    opacity: 0.9;

}

/* =========================
MODAL BODY
========================= */

#packageModal .modal-body{

    padding: 22px;

    background: var(--card);

}

/* =========================
PACKAGE CARD
========================= */

.package-card{

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 18px;

    text-align: center;

    transition: 0.3s ease;

    height: 100%;

    position: relative;

    overflow: hidden;

}

.package-card:hover{

    transform: translateY(-4px);

    border-color: #0151e0;

    box-shadow: 0 12px 28px rgba(1,81,224,0.12);

}

/* =========================
POPULAR / FEATURED TAG
========================= */

.package-badge{

    display: inline-block;

    padding: 4px 12px;

    font-size: 11px;

    border-radius: 30px;

    background: rgba(1,81,224,0.1);

    color: var(--primary);

    font-weight: 700;

    margin-bottom: 10px;

}

/* =========================
PRICE
========================= */

.package-price{

    font-size: 26px;

    font-weight: 900;

    color: #0151e0;

    margin: 10px 0;

}

body.dark-mode .package-price{

    color: #4ea1ff;

}

/* =========================
FEATURES
========================= */

.package-features{

    font-size: 12px;

    color: var(--text-light);

    line-height: 1.5;

    min-height: 45px;

}

/* =========================
BUTTON
========================= */

.btn-gradient{

    width: 100%;

    background: linear-gradient(
        135deg,
        #0151e0,
        #128c4a
    );

    border: none;

    color: #fff;

    font-weight: 700;

    border-radius: 12px;

    padding: 8px 12px;
    font-size: 13px;

    transition: 0.3s;

}

.btn-gradient:hover{

    opacity: 0.92;

    transform: translateY(-2px);

}

/* =========================
DARK MODE IMPROVEMENTS
========================= */

body.dark-mode #packageModal .modal-content{

    background: var(--card);

    box-shadow: 0 20px 60px rgba(0,0,0,0.5);

}

body.dark-mode .package-card{

    background: var(--card);

    border: 1px solid var(--border);

}

body.dark-mode .package-badge{

    background: rgba(18,140,74,0.15);

    color: #5ee38a;

}

/* =========================
RESPONSIVE
========================= */

@media(max-width:768px){

    #packageModal .modal-body{

        padding: 16px;

    }

    .package-card{

        padding: 14px;

    }

    .package-price{

        font-size: 22px;

    }

}

.package-features{
    text-align: left;
    margin-top: 12px;
}

.feature-item{
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 12px;
    padding: 3px 0;

    color: var(--text-light);
}

.feature-item i{
    color: #128c4a;
    font-size: 12px;
}

/* =========================================
START JOURNEY SECTION
========================================= */

.start-journey-section{

    background:#f8fbff;

}

body.dark-mode .start-journey-section {
    background: var(--bg) !important;
}

.journey-card{

    background:
    linear-gradient(
    135deg,
    #0151e3,
    #0037a3
    );

    border-radius:28px;

    padding:40px;

    position:relative;

    overflow:hidden;

}

.journey-card,
.journey-card * {
    color: #ffffff !important;
}

.journey-card::before{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    border-radius:50%;

    background:
    rgba(255,255,255,0.06);

    top:-100px;
    right:-80px;

}

.journey-badge{

    display:inline-block;

    background:
    rgba(255,255,255,0.15);

    color:#fff;

    padding:8px 16px;

    border-radius:40px;

    font-size:13px;
    font-weight:600;

    margin-bottom:15px;

    backdrop-filter:blur(8px);

}

.journey-title{

    font-size:34px;
    font-weight:800;

    color:#fff;

    margin-bottom:15px;

}

.journey-text{

    color:
    rgba(255,255,255,0.82);

    font-size:15px;

    max-width:700px;

    margin-bottom:22px;

}

.journey-features{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.journey-feature{

    background:
    rgba(255,255,255,0.12);

    color:#fff;

    padding:8px 16px;

    border-radius:40px;

    font-size:13px;
    font-weight:600;

    display:flex;
    align-items:center;
    gap:6px;

}

.journey-feature i{

    color:#7dffb3;

}

/* =========================================
FLOATING WHATSAPP
========================================= */

.floating-whatsapp{

    position:fixed;

    right:20px;
    bottom:20px;

    width:55px;
    height:55px;

    border-radius:50%;

    background:#25d366;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:26px;

    text-decoration:none;

    z-index:999;

    box-shadow:
    0 10px 25px rgba(37,211,102,0.35);

    animation:
    whatsappFloat 2s infinite;

    transition:0.3s;

}

.floating-whatsapp:hover{

    transform:scale(1.05);

    color:#fff;

}

@keyframes whatsappFloat{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-6px);

    }

    100%{

        transform:translateY(0px);

    }

}

/* =========================================
LEAD POPUP
========================================= */

.lead-popup-overlay{

    position:fixed;

    inset:0;

    background:
    rgba(0,0,0,0.65);

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:99999;

    opacity:0;
    visibility:hidden;

    transition:0.35s;

    padding:20px;

    backdrop-filter:blur(6px);

}

.lead-popup-overlay.show{

    opacity:1;
    visibility:visible;

}

.lead-popup-box{

    width:100%;
    max-width:440px;

    background:var(--card);

    border-radius:28px;

    padding:32px;

    position:relative;

    text-align:center;

    transform:
    translateY(30px)
    scale(0.96);

    transition:0.4s;

    box-shadow:
    0 25px 80px rgba(0,0,0,0.35);

    animation:
    popupAnim 0.5s ease;

}

@keyframes popupAnim{
    from{
        transform: translateY(30px) scale(0.9);
        opacity:0;
    }
    to{
        transform: translateY(0) scale(1);
        opacity:1;
    }
}

.lead-popup-overlay.show
.lead-popup-box{

    transform:
    translateY(0px)
    scale(1);

}

.lead-popup-close{

    position:absolute;

    top:14px;
    right:14px;

    width:36px;
    height:36px;

    border:none;

    border-radius:50%;

    background:var(--bg);

    font-size:16px;

    cursor:pointer;

    transition:0.3s;

    color:var(--text);

}

.lead-popup-close:hover{

    background:var(--border);

    transform:rotate(90deg);

}

.lead-popup-icon{

    width:90px;
    height:90px;

    border-radius:50%;

    background:
    linear-gradient(
    135deg,
    #0151e3,
    #128c4a
    );

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:36px;

    margin:auto;
    margin-bottom:20px;

    animation:
    pulsePopup 2s infinite;

    box-shadow:0 15px 40px rgba(1,81,224,0.3);

}

@keyframes pulsePopup{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.06);

    }

    100%{

        transform:scale(1);

    }

}

.popup-title{

    font-size:28px;

    font-weight:800;

    margin-bottom:18px;

    color:var(--text);

}

.popup-subtitle{

    color:var(--text-light);

    font-size:15px;

    line-height:1.7;

    margin-bottom:28px;

}

.popup-features{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-bottom:30px;

}

.popup-feature{

    background:
    rgba(1,81,224,0.08);

    padding:12px 16px;

    border-radius:16px;

    font-weight:600;

    font-size:14px;

    display:flex;

    align-items:center;

    gap:10px;

    color:var(--text);

}

.popup-feature i{

    color:#128c4a;

    font-size:18px;

}

.popup-start-btn{

    height:56px;

    border-radius:60px;

    background:
    linear-gradient(
    135deg,
    #0151e0,
    #128c4a
    );

    color:#fff;

    font-size:18px;

    font-weight:800;

    text-decoration:none;

    display:flex;

    align-items:center;
    justify-content:center;

    letter-spacing:1px;

    animation:
    blinkBtn 1s infinite;

    box-shadow:
    0 12px 35px rgba(1,81,224,0.35);

}

@keyframes blinkBtn{

    0%{

        transform:scale(1);
        opacity:1;

    }

    50%{

        transform:scale(1.04);
        opacity:0.88;

    }

    100%{

        transform:scale(1);
        opacity:1;

    }

}

.popup-start-btn:hover{

    color:#fff;

    transform:translateY(-3px);

}

/* Dark mode for lead popup */
body.dark-mode .lead-popup-box{

    background:var(--card);

    color:var(--text);

}

body.dark-mode .lead-popup-close{

    background:var(--bg);

    color:var(--text);

}

body.dark-mode .lead-popup-close:hover{

    background:var(--border);

}

body.dark-mode .popup-feature{

    background:rgba(1,81,224,0.12);

    color:var(--text);

}

body.dark-mode .popup-feature i{

    color:#5ee38a;

}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    .journey-card{

        padding:28px 20px;

    }

    .journey-title{

        font-size:26px;

    }

    .journey-text{

        font-size:14px;

    }

    .lead-popup-box{

        padding:25px 20px;
        max-width:95%;
    }
    
    .lead-popup-icon{
        width:70px;
        height:70px;
        font-size:28px;
    }
    
    .popup-title{
        font-size:22px;
    }
    
    .popup-subtitle{
        font-size:14px;
    }
    
    .popup-start-btn{
        font-size:16px;
        height:52px;
    }

    .floating-whatsapp{

        width:48px;
        height:48px;

        font-size:24px;

        right:14px;
        bottom:14px;

    }

}

/* =========================
SEARCH PAGE STYLES
========================= */

.search-page{
    background: linear-gradient(to bottom, rgba(1,81,227,0.04), transparent);
}

/* TOP CARD */
.search-top-card{
    background: var(--card);
    padding: 35px;
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.results-badge{
    background: #0151e3;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
}

/* INPUTS */
.search-input-wrapper{
    position: relative;
}

.search-input-wrapper i{
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 5;
}

.search-input-modern{
    height: 60px;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding-left: 50px;
    font-size: 15px;
    box-shadow: none;
    background: var(--card);
    color: var(--text);
}

.search-input-modern:focus{
    border-color: #0151e3;
    box-shadow: 0 0 0 4px rgba(1,81,227,0.1);
}

.search-btn-modern{
    height: 60px;
    border: none;
    border-radius: 18px;
    background: #0151e3;
    font-weight: 700;
    color: #fff;
}

.search-btn-modern:hover{
    background: #0141bb;
}

/* SORT PILLS */
.sort-pill{
    padding: 10px 18px;
    background: #f3f6ff;
    color: #0151e3;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.sort-pill:hover{
    background: #0151e3;
    color: #fff;
}

body.dark-mode .sort-pill{
    background: #1f2937;
    color: #fff;
}

/* SEARCH BUSINESS CARD */
.business-card-search{
    background: var(--card);
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.35s;
}

.business-card-search:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.business-card-search * {
    color: var(--text);
}

.business-card-search .text-muted {
    color: var(--text-light) !important;
}

.business-search-image{
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

.business-card-search:hover .business-search-image{
    transform: scale(1.05);
}

.business-card-search .business-placeholder{
    width: 100%;
    height: 220px;
    background: #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-card-search .business-placeholder i{
    font-size: 70px;
    color: #aaa;
}

body.dark-mode .business-card-search .business-placeholder {
    background: #1f2937;
}

body.dark-mode .business-card-search .business-placeholder i {
    color: #6b7280;
}

/* BADGES */
.category-pill{
    background: rgba(1,81,227,0.08);
    color: #0151e3;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.open-badge{
    background: rgba(18,140,74,0.1);
    color: #128c4a;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

/* BUSINESS DESC */
.business-desc{
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
    min-height: 48px;
}

/* BUTTONS */
.details-btn{
    background: #0151e3;
    border: none;
    border-radius: 16px;
    height: 50px;
    font-weight: 700;
}

.details-btn:hover{
    background: #0141bb;
}

.action-btn{
    border-radius: 14px;
    height: 46px;
    font-weight: 600;
}

/* EMPTY CARD */
.empty-card{
    background: var(--card);
    padding: 70px 30px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}

.empty-card i{
    font-size: 80px;
    color: #0151e3;
}

.empty-card * {
    color: var(--text);
}

/* SEARCH PAGE RESPONSIVE */
@media (max-width: 768px) {
    .search-top-card{
        padding: 20px;
    }
    
    .results-badge{
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .search-input-modern,
    .search-btn-modern{
        height: 52px;
    }
    
    .business-search-image,
    .business-card-search .business-placeholder{
        height: 180px;
    }
    
    .business-card-search .p-4{
        padding: 16px !important;
    }
    
    .empty-card{
        padding: 50px 20px;
    }
    
    .empty-card i{
        font-size: 60px;
    }
}

/* Search results grid - 3 per row on desktop, 2 on tablet, 1 on mobile */
@media (min-width: 992px) {
    .search-page .row.g-4 > .col-lg-4 {
        width: 33.333%;
        flex: 0 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .search-page .row.g-4 > .col-md-6 {
        width: 50%;
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    .search-page .row.g-4 > .col-md-6 {
        width: 100%;
        flex: 0 0 auto;
    }
}

/* =========================
POLICY PAGE DARK MODE
========================= */
[data-bs-theme="dark"] .policy-page{
    background: var(--bg);
}

[data-bs-theme="dark"] .policy-box{
    background: var(--card);
}

[data-bs-theme="dark"] .policy-box h1,
[data-bs-theme="dark"] .policy-box h2,
[data-bs-theme="dark"] .policy-box p,
[data-bs-theme="dark"] .policy-date {
    color: var(--text) !important;
}

[data-bs-theme="dark"] .policy-box h2 {
    color: var(--primary) !important;
}

/* =========================
GLOBAL UTILITY DARK MODE OVERRIDES
========================= */
[data-bs-theme="dark"] .text-dark{
    color: var(--text) !important;
}

[data-bs-theme="dark"] .text-muted{
    color: var(--text-light) !important;
}

[data-bs-theme="dark"] .bg-white{
    background-color: var(--card) !important;
}

[data-bs-theme="dark"] .bg-light{
    background-color: var(--bg) !important;
}

[data-bs-theme="dark"] .border,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-top{
    border-color: var(--border) !important;
}

/* Keep category slider/banner colors unchanged in dark mode */
[data-bs-theme="dark"] .category-hero,
[data-bs-theme="dark"] .hero-category-section,
[data-bs-theme="dark"] .category-slider,
[data-bs-theme="dark"] .category-banner {
    background: inherit !important;
}

[data-bs-theme="dark"] .category-hero {
    background: linear-gradient(135deg, #0151e3, #128c4a) !important;
}

/* =========================================
FOOTER GOOGLE TRANSLATE
========================================= */

.footer-translate-box{

    margin-top:20px;

}

.translate-title{

    color:#fff;

    font-size:14px;

    font-weight:700;

    margin-bottom:12px;

    display:flex;
    align-items:center;
    gap:8px;

}

.translate-title i{

    color:#60a5fa;

}

#google_translate_element{

    width:100%;

}

.goog-te-gadget{

    font-family:Arial,sans-serif !important;

    color:#fff !important;

}

.goog-te-gadget .goog-te-combo{

    width:100%;

    height:48px;

    border-radius:14px;

    padding:0 14px;

    border:none;

    outline:none;

    background:#1e293b;

    color:#fff;

    font-size:14px;

    cursor:pointer;

}

.goog-te-gadget span{

    display:none !important;

}

.goog-logo-link{

    display:none !important;

}

.goog-te-banner-frame.skiptranslate{

    display:none !important;

}

body{

    top:0 !important;

}

/* DARK MODE */

[data-bs-theme="dark"] .goog-te-gadget .goog-te-combo{

    background:#111827;

    color:#fff;

    border:1px solid #374151;

}

/* MOBILE */

@media(max-width:768px){

    .goog-te-gadget .goog-te-combo{

        height:44px;
        font-size:13px;

    }

}