/*
====================================================
LOCAL LINK
STYLE.CSS
PART 1
====================================================
*/

/*==============================
GLOBAL
==============================*/

body{
    background:var(--light);
    color:var(--dark);
}

.site-content{
    min-height:100vh;
}

.section{
    padding:80px 0;
}

.section-sm{
    padding:50px 0;
}

/*==============================
NAVBAR
==============================*/

.navbar{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    background:#fff;

    height:var(--header-height);

    display:flex;

    align-items:center;

    z-index:999;

    box-shadow:0 2px 20px rgba(0,0,0,.05);

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:100%;

}

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:24px;

    font-weight:700;

    color:var(--primary);

}

.logo i{

    font-size:32px;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

}

.nav-links a{

    font-weight:500;

    color:var(--dark);

    transition:.3s;

    position:relative;

}

.nav-links a:hover{

    color:var(--primary);

}

.nav-links a::after{

    content:"";

    position:absolute;

    bottom:-8px;

    left:0;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}

.nav-actions{

    display:flex;

    gap:15px;

    align-items:center;

}

.mobile-toggle{

    display:none;

    width:45px;

    height:45px;

    border-radius:10px;

    background:var(--primary);

    color:#fff;

    font-size:18px;

}

/*==============================
HERO
==============================*/

.hero{
    position: relative;
    width: 100%;
    min-height: 100vh; /* Full screen */

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(13, 34, 72, 0.88) 0%,
            rgba(13, 34, 72, 0.65) 40%,
            rgba(13, 34, 72, 0.30) 70%,
            rgba(13, 34, 72, 0.15) 100%
        ),
        url("../images/bg.png") no-repeat center center;

    background-size: cover;
    background-attachment: scroll; /* Better than fixed on mobile */

    color: #fff;

    overflow: hidden;
}
.hero-content{

    max-width: 850px;

}

.hero h1{

    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 20px;

}

.hero p{

    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    max-width: 600px;

}

@media (max-width:768px){

    .hero{
        min-height: 700px;

        background-position: 75% center;
    }

    .hero-content{
        max-width: 100%;
        text-align: center;
    }

    .hero h1{
        font-size: 2.5rem;
    }

    .hero p{
        font-size: 1rem;
    }

}

/*==============================
SEARCH
==============================*/

.hero-search{

    background:#fff;

    border-radius:18px;

    padding:12px;

    box-shadow:var(--shadow-lg);

}

.search-form{

    display:grid;

    grid-template-columns:
    2fr
    1fr
    1fr
    auto;

    gap:12px;

}

.search-form input,

.search-form select{

    height:58px;

    border:1px solid var(--border);

    border-radius:12px;

    padding:0 18px;

    font-size:15px;

    background:#fff;

}

.search-form input:focus,

.search-form select:focus{

    border-color:var(--primary);

    box-shadow:
    0 0 0 4px rgba(13,110,253,.15);

}

.search-form button{

    height:58px;

    padding:0 30px;

    border-radius:12px;

}

.hero .container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    z-index: 2;
}

.hero-content{
    max-width: 850px;
}

/*==============================
POPULAR SEARCHES
==============================*/

.popular-searches{

    margin-top:25px;

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.popular-searches span{

    font-weight:600;

}

.popular-searches a{

    background:rgba(255,255,255,.18);

    color:#fff;

    padding:8px 16px;

    border-radius:50px;

    transition:.3s;

}

.popular-searches a:hover{

    background:#fff;

    color:var(--primary);

}

/*==============================
HERO STATS
==============================*/

.hero-stats{

    display:flex;

    gap:50px;

    margin-top:60px;

}

.hero-stat h2{

    font-size:42px;

    font-weight:700;

}

.hero-stat p{

    margin:0;

    font-size:15px;

    opacity:.9;

}

/*==============================
SECTION TITLE
==============================*/

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:40px;

    margin-bottom:15px;

}

.section-title p{

    max-width:650px;

    margin:auto;

    color:var(--gray);

}

/*==============================
SCROLL INDICATOR
==============================*/

.scroll-down{

    position:absolute;

    bottom:30px;

    left:50%;

    transform:translateX(-50%);

    color:#fff;

    font-size:30px;

    animation:bounce 2s infinite;

}

@keyframes bounce{

    0%,
    100%{

        transform:
        translate(-50%,0);

    }

    50%{

        transform:
        translate(-50%,10px);

    }

}

/*==============================
BUTTON IMPROVEMENTS
==============================*/

.btn{

    transition:.3s;

}

.btn:hover{

    transform:translateY(-3px);

}

.btn-primary{

    box-shadow:
    0 10px 25px rgba(13,110,253,.35);

}

/*==============================
ANIMATION
==============================*/

.hero h1{

    animation:fadeUp .8s ease;

}

.hero p{

    animation:fadeUp 1s ease;

}

.hero-search{

    animation:fadeUp 1.2s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*
====================================================
LOCAL LINK
STYLE.CSS
PART 2
====================================================
*/

/*==================================
FEATURED CATEGORIES
==================================*/

.categories{
    background:var(--white);
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.category-card{
    background:#fff;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    transition:.3s;
    box-shadow:var(--shadow-sm);
    border:1px solid var(--border);
    cursor:pointer;
}

.category-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
    border-color:var(--primary);
}

.category-card:hover p{
    color:#fff;
}

.category-card h3,
.category-card p,
.category-card .category-count,
.category-card .category-icon{
    transition:all .5s ease;
}

.category-icon{
    width:80px;
    height:80px;
    margin:0 auto 20px;
    border-radius:50%;
    background:rgba(13,110,253,.10);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    transition:.3s;
}

.category-card:hover .category-icon{
    background:var(--primary);
    color:#fff;
}

.category-card h3{
    margin-bottom:10px;
    font-size:20px;
}

.category-card p{
    color:var(--gray);
    font-size:15px;
    margin-bottom:15px;
}

.category-count{
    display:inline-block;
    padding:6px 14px;
    border-radius:30px;
    background:var(--light);
    color:var(--primary);
    font-weight:600;
    font-size:14px;
}

/*==================================
STATISTICS
==================================*/

.stats{
    padding:90px 0;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.stat-card{
    text-align:center;
}

.stat-card i{
    font-size:50px;
    margin-bottom:20px;
}

.stat-card h2{
    font-size:48px;
    margin-bottom:8px;
}

.stat-card p{
    opacity:.95;
}

/*==================================
FEATURED BUSINESSES
==================================*/

.featured-businesses{
    padding:90px 0;
    background:#fff;
}

.featured-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.featured-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    transition:.35s;
    border:1px solid var(--border);
}

.featured-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.featured-image{
    position:relative;
    height:230px;
    overflow:hidden;
}

.featured-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.featured-card:hover .featured-image img{
    transform:scale(1.08);
}

.featured-badge{
    position:absolute;
    top:20px;
    left:20px;
    background:#f59e0b;
    color:#fff;
    padding:8px 16px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
}

.featured-logo{
    position:absolute;
    bottom:-40px;
    left:25px;
    width:80px;
    height:80px;
    border-radius:50%;
    background:#fff;
    border:5px solid #fff;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.featured-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.featured-content{
    padding:55px 25px 25px;
}

.featured-content h3{
    font-size:24px;
    margin-bottom:10px;
}

.featured-category{
    color:var(--primary);
    font-weight:600;
    margin-bottom:12px;
}

.featured-location{
    color:var(--gray);
    margin-bottom:15px;
}

.featured-location i{
    color:var(--primary);
    margin-right:6px;
}

.featured-description{
    color:var(--gray);
    line-height:1.7;
    margin-bottom:20px;
}

.featured-rating{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.featured-stars{
    color:#fbbf24;
}

.featured-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid var(--border);
    padding-top:20px;
}

.featured-tags{
    display:flex;
    gap:10px;
}

.featured-tag{
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.featured-tag.verified{
    background:#dcfce7;
    color:#15803d;
}

.featured-tag.premium{
    background:#fef3c7;
    color:#b45309;
}

/*==================================
BUSINESS TAGS
==================================*/

.business-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:18px;
}

.tag{
    padding:6px 14px;
    border-radius:25px;
    font-size:13px;
    font-weight:600;
}

.tag-verified{
    background:#dcfce7;
    color:#15803d;
}

.tag-premium{
    background:#fef3c7;
    color:#a16207;
}

.tag-featured{
    background:#dbeafe;
    color:#1d4ed8;
}

/*==================================
LATEST BUSINESSES
==================================*/

.latest-businesses{
    background:#fff;
}

.latest-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.latest-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:20px;
    transition:.3s;
}

.latest-item:hover{
    border-color:var(--primary);
    transform:translateX(6px);
    box-shadow:var(--shadow-sm);
}

.latest-left{
    display:flex;
    align-items:center;
    gap:18px;
}

.latest-logo{
    width:70px;
    height:70px;
    border-radius:50%;
    overflow:hidden;
    background:#f4f4f4;
}

.latest-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.latest-info h4{
    margin-bottom:6px;
}

.latest-info p{
    color:var(--gray);
    font-size:14px;
}

.latest-right{
    text-align:right;
}

.latest-right span{
    display:block;
    color:var(--gray);
    margin-top:8px;
}

/*==================================
VIEW ALL BUTTON
==================================*/

.view-all{
    text-align:center;
    margin-top:50px;
}

/*==================================
SECTION BACKGROUNDS
==================================*/

.bg-gradient{
    background:linear-gradient(135deg,#f8fbff,#eef5ff);
}

/*
====================================================
LOCAL LINK
STYLE.CSS
PART 3
====================================================
*/

/*==================================
TESTIMONIALS
==================================*/

.testimonials{
    background:var(--light);
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:var(--shadow-sm);
    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.testimonial-card .stars{
    color:#fbbf24;
    margin-bottom:20px;
}

.testimonial-card p{
    color:var(--gray);
    line-height:1.8;
    margin-bottom:25px;
}

.testimonial-user{
    display:flex;
    align-items:center;
    gap:15px;
}

.testimonial-user img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

.testimonial-user h4{
    margin-bottom:4px;
}

.testimonial-user span{
    color:var(--gray);
    font-size:14px;
}

/*==================================
CALL TO ACTION
==================================*/

.cta{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    text-align:center;
    padding:100px 20px;
}

.cta h2{
    font-size:46px;
    margin-bottom:20px;
}

.cta p{
    max-width:700px;
    margin:0 auto 40px;
    font-size:18px;
    opacity:.95;
}

.cta .btn{
    background:#fff;
    color:var(--primary);
    font-weight:700;
}

.cta .btn:hover{
    background:var(--light);
}

/*==================================
NEWSLETTER
==================================*/

.newsletter{
    background:#fff;
}

.newsletter-box{
    max-width:800px;
    margin:auto;
    background:var(--primary);
    color:#fff;
    padding:50px;
    border-radius:20px;
    text-align:center;
}

.newsletter-box h2{
    margin-bottom:15px;
}

.newsletter-box p{
    margin-bottom:30px;
    opacity:.9;
}

.newsletter-form{
    display:flex;
    gap:15px;
}

.newsletter-form input{
    flex:1;
    height:56px;
    border:none;
    border-radius:12px;
    padding:0 18px;
}

.newsletter-form button{
    height:56px;
}

/*==================================
PARTNERS
==================================*/

.partners{
    background:var(--white);
}

.partner-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:25px;
    align-items:center;
}

.partner-item{
    background:#fff;
    padding:20px;
    border-radius:14px;
    box-shadow:var(--shadow-sm);
    text-align:center;
    transition:.3s;
}

.partner-item:hover{
    transform:translateY(-5px);
}

.partner-item img{
    max-height:55px;
    margin:auto;
}

/*==================================
FOOTER
==================================*/

.footer{
    background:var(--dark-2);
    color:#fff;
    padding:80px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
    margin-bottom:50px;
}

.footer h3,
.footer h4{
    margin-bottom:20px;
}

.footer p{
    color:#cbd5e1;
    line-height:1.8;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul a{
    color:#cbd5e1;
    transition:.3s;
}

.footer ul a:hover{
    color:#fff;
    padding-left:6px;
}

.footer hr{
    border:none;
    border-top:1px solid rgba(255,255,255,.1);
    margin:30px 0;
}

.copyright{
    text-align:center;
    color:#94a3b8;
}

/*==================================
SCROLL TO TOP
==================================*/

.scroll-top{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:var(--shadow-lg);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
}

.scroll-top.show{
    opacity:1;
    visibility:visible;
}

.scroll-top:hover{
    background:var(--primary-dark);
    transform:translateY(-5px);
}

/*==================================
LOADING ANIMATION
==================================*/

.fade-up{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*==================================
SMOOTH HOVER EFFECTS
==================================*/

.business-card,
.category-card,
.testimonial-card,
.partner-item{
    transition:.35s ease;
}

img{
    transition:.35s ease;
}

.business-card:hover img,
.category-card:hover img{
    transform:scale(1.05);
}

/*==================================
SELECTION
==================================*/

::selection{
    background:var(--primary);
    color:#fff;
}

/*==================================
SCROLLBAR
==================================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f1f5f9;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--primary-dark);
}

/*==================================
HOW IT WORKS
==================================*/

.how-it-works{
    background:#fff;
    padding:80px 0;
}

.steps-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.step-card{

    background:#fff;

    padding:35px 25px;

    text-align:center;

    border-radius:18px;

    box-shadow:var(--shadow-sm);

    transition:.3s;

}

.step-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}


.step-card i{

    width:80px;

    height:80px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 20px;

    border-radius:50%;

    background:rgba(13,110,253,.1);

    color:var(--primary);

    font-size:35px;

}


.step-card h3{

    font-size:22px;

    margin-bottom:12px;

}


.step-card p{

    color:var(--gray);

}

/*==================================
LATEST BUSINESSES
==================================*/

.latest-businesses{
    padding:80px 0;
    background:var(--light);
}

.latest-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:30px;
}

.latest-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    transition:all .3s ease;
    border:1px solid var(--border);
}

.latest-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.latest-image{
    position:relative;
    height:220px;
    overflow:hidden;
}

.latest-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.latest-card:hover .latest-image img{
    transform:scale(1.08);
}

.latest-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:var(--primary);
    color:#fff;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.latest-content{
    padding:25px;
}

.latest-content h3{
    font-size:24px;
    margin-bottom:10px;
    color:var(--dark);
}

.latest-location{
    color:var(--gray);
    margin-bottom:15px;
}

.latest-location i{
    color:var(--primary);
    margin-right:6px;
}

.latest-description{
    color:var(--gray);
    line-height:1.7;
    margin-bottom:20px;
}

.latest-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    font-size:14px;
}

.latest-rating{
    color:#fbbf24;
}

.latest-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:20px;
    border-top:1px solid var(--border);
}

.latest-footer .btn{
    padding:10px 18px;
    font-size:14px;
}

.latest-date{
    color:var(--gray);
    font-size:14px;
}

/*==================================
WHY LOCALLINK
==================================*/

.why-locallink{
    padding:90px 0;
    background:#fff;
}

.content-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.content-box{
    background:#fff;
    padding:40px;
    border-radius:18px;
    border:1px solid #e5e7eb;
    box-shadow:0 12px 35px rgba(0,0,0,.05);
    transition:.3s;
}

.content-box:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.10);
}

.content-box .icon{
    width:70px;
    height:70px;
    border-radius:16px;
    background:#2563eb;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    margin-bottom:25px;
}

.content-box h2{
    font-size:30px;
    color:#0f172a;
    margin-bottom:20px;
    line-height:1.3;
}

.content-box p{
    color:#64748b;
    font-size:16px;
    line-height:1.9;
    margin-bottom:18px;
}

@media(max-width:992px){

    .content-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .why-locallink{
        padding:60px 0;
    }

    .content-box{
        padding:30px;
    }

    .content-box h2{
        font-size:24px;
    }

}

.province-row {
    display: flex;
    gap: 10px;
}

.location-btn {
    white-space: nowrap;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #1672e8;
    cursor: pointer;
}

#location-status {
    display: block;
    margin-top: 6px;
    color: #64748b;
}