﻿/* ============================================
   Cashit.in — sell-used.aspx Stylesheet
   ALL selectors scoped — no global resets
   Safe alongside: normalize, bootstrap, main,
   style.css, animate, font-awesome, select2,
   owl, meanmenu, magnific, slick, datepicker
   ============================================ */

/* ============================================
   HERO BANNER — pure CSS, no images
   ============================================ */
.banner-section {
    position: relative;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    background: #0d1b2a;
    overflow: hidden;
}

    /* Subtle animated gradient background */
    .banner-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,179,134,.18) 0%, transparent 60%), radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0,100,200,.12) 0%, transparent 60%);
        animation: heroBgPulse 8s ease-in-out infinite alternate;
        pointer-events: none;
    }

@keyframes heroBgPulse {
    0% {
        opacity: .7;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.04);
    }
}

/* ---- Slides ---- */
.hero-slides {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: heroFade 10s ease-in-out infinite;
}

    .hero-slide.slide-1 {
        animation-delay: 0s;
    }

    .hero-slide.slide-2 {
        animation-delay: 5s;
    }

@keyframes heroFade {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    8% {
        opacity: 1;
        transform: translateY(0);
    }

    45% {
        opacity: 1;
        transform: translateY(0);
    }

    55% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.hero-slide-inner {
    text-align: center;
    padding: 0 20px;
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    background: rgba(0,179,134,.2);
    color: #00e5a0;
    border: 1px solid rgba(0,179,134,.4);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.hero-slide-inner h2 {
    color: #fff;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-slide-inner p {
    color: rgba(255,255,255,.72);
    font-size: clamp(.9rem, 2vw, 1.05rem);
    margin: 0;
    line-height: 1.6;
}

/* ---- Search Bar ---- */
.hero-search-wrap {
    position: relative;
    z-index: 10;
    padding: 0 20px 36px;
    display: flex;
    justify-content: center;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0,0,0,.28);
    overflow: hidden;
    width: 100%;
    max-width: 680px;
    min-height: 54px;
}

/* City button */
.city-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    height: 54px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: .88rem;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .2s ease;
    border-radius: 50px 0 0 50px;
}

    .city-btn:hover {
        background: rgba(0,179,134,.07);
        color: #00b386;
        text-decoration: none;
    }

    .city-btn .fa-map-marker {
        color: #00b386;
        font-size: 1rem;
    }

    .city-btn .fa-angle-down {
        color: #aaa;
        font-size: .8rem;
        margin-left: 2px;
    }

/* Divider between city and search */
.search-divider {
    width: 1px;
    height: 28px;
    background: #e0e0e0;
    flex-shrink: 0;
}

/* Search input area */
.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    min-width: 0;
}

    .search-input-wrap .search-icon {
        color: #aaa;
        font-size: .95rem;
        flex-shrink: 0;
        margin-right: 10px;
    }

.hero-search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: .95rem;
    color: #1a1a2e;
    width: 100%;
    height: 54px;
    padding: 0;
}

    .hero-search-input::-webkit-input-placeholder {
        color: #aaa;
    }

    .hero-search-input::-moz-placeholder {
        color: #aaa;
    }

    .hero-search-input:-ms-input-placeholder {
        color: #aaa;
    }

    .hero-search-input::placeholder {
        color: #aaa;
    }

/* Mobile */
@media (max-width: 600px) {
    .banner-section {
        min-height: 380px;
    }

    .hero-slides {
        min-height: 260px;
    }

    .hero-search-box {
        border-radius: 14px;
        flex-wrap: wrap;
        min-height: auto;
        overflow: visible;
    }

    .city-btn {
        border-radius: 14px 14px 0 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        height: 46px;
    }

    .search-divider {
        display: none;
    }

    .search-input-wrap {
        width: 100%;
        padding: 0 14px;
    }

    .hero-search-input {
        height: 43px;
    }
}

/* ============================================
   WHAT WOULD YOU LIKE TO DO
   ============================================ */
.banner-below {
    padding: 60px 0 40px;
    background: #fff;
}

    .banner-below .main-head {
        margin-bottom: 36px;
    }

        .banner-below .main-head h1 {
            color: #1a1a2e;
            margin-bottom: 8px;
            font-family: 'Sora', 'Segoe UI', sans-serif;
            font-weight: 700;
        }

        .banner-below .main-head p {
            color: #888;
            font-size: 1rem;
            margin: 0;
        }

/* Category card grid */
.home-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    padding: 0;
}

.home-list-inner {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 calc(25% - 20px);
    flex: 0 1 calc(25% - 20px);
    min-width: 160px;
    padding: 2px;
}

    .home-list-inner .brand {
        border: 2px solid #eee;
        border-radius: 12px;
        padding: 24px 16px;
        text-align: center;
        transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
        background: #fff;
        cursor: pointer;
    }

        .home-list-inner .brand:hover {
            transform: translateY(-4px);
            border-color: #00b386;
            box-shadow: 0 4px 20px rgba(0,0,0,.08);
        }

        .home-list-inner .brand img {
            width: 60px;
            height: 60px;
            object-fit: contain;
            margin: 0 auto 12px;
            display: block;
        }

        .home-list-inner .brand .view label {
            font-weight: 600;
            font-size: .9rem;
            color: #1a1a2e;
            cursor: pointer;
            margin: 0;
        }

/* ============================================
   PRODUCT LISTING SECTIONS
   ============================================ */
.list-sec-wrp {
    padding: 48px 0;
    background: #f7f8fa !important;
}

    .list-sec-wrp + .list-sec-wrp {
        border-top: 1px solid #eee;
    }

.headinmain {
    margin-bottom: 28px;
}

    .headinmain h3 {
        font-size: 1.3rem;
        color: #1a1a2e;
        position: relative;
        padding-bottom: 10px;
        margin: 0;
        font-family: 'Sora', 'Segoe UI', sans-serif;
        font-weight: 700;
    }

        .headinmain h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 44px;
            height: 3px;
            background: #00b386;
            border-radius: 2px;
        }

/* Item card */
.service-box1 {
    background: #fff;
    border-radius: 2px;
    padding: 4px -3px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: pointer;
    margin-bottom: 16px;
}

    .service-box1:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 20px rgba(0,0,0,.08);
        border-color: #00b386;
    }

    .service-box1 .overflow-sec {
        margin-bottom: 10px;
    }

    .service-box1 img,
    .service-box1 input[type="image"] {
        width: 70px;
        height: 100%;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

    .service-box1 .title-medium-dark,
    .service-box1 .short-title {
        font-size: .85rem;
        font-weight: 600;
        color: #444;
        margin: 0;
    }

.item-content {
    padding-top: 6px;
}

/* ============================================
   HOW IT WORKS TABS
   ============================================ */
.how-section-tab {
    padding: 72px 0;
    background: #fff;
}

    .how-section-tab .main-head {
        margin-bottom: 48px;
    }

.tab-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 40px;
}

.tab-wrap-inner {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 260px;
    text-align: center;
}

.tab-content {
    display: none;
}

    .tab-content.tab-show {
        display: block;
    }

.taglist figure {
    position: relative;
    display: inline-block;
    margin: 0;
}

.taglist .mob-2 {
    width: 180px;
    border-radius: 20px;
    display: block;
}

.taglist .mob-1 {
    width: 140px;
    border-radius: 16px;
    position: absolute;
    right: -40px;
    bottom: -20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    display: block;
}

.tab-title-wrp {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 260px;
}

.tab-titles {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tab-titles li {
        border-left: 3px solid #eee;
        padding: 16px 20px;
        margin-bottom: 12px;
        border-radius: 0 12px 12px 0;
        transition: border-color .25s ease, background .25s ease;
    }

        .tab-titles li.active,
        .tab-titles li:hover {
            border-left-color: #00b386;
            background: rgba(0,179,134,.05);
        }

        .tab-titles li a {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            gap: 16px;
            -webkit-box-align: start;
            -ms-flex-align: start;
            align-items: flex-start;
            text-decoration: none;
            color: inherit;
        }

.icon-left {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #00b386;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin-top: 2px;
}

.icon-right-matter h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    margin-top: 0;
}

.icon-right-matter p {
    font-size: .88rem;
    color: #888;
    margin: 0;
}

/* ============================================
   PARALLAX INFO SECTIONS
   ============================================ */
.paralax-sections {
    padding: 64px 0;
    overflow: hidden;
}

    .paralax-sections.first-row {
        background: #f7f8fa;
    }

    .paralax-sections.para-section2 {
        background: #fff;
    }

    .paralax-sections.para-section3 {
        background: #f7f8fa;
    }

    .paralax-sections .container-fluid {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 40px;
    }

    /* Hide the old decorative banner images inside parallax */
    .paralax-sections > .container-fluid > img {
        display: none;
    }

.para-text-left {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 280px;
}

    .para-text-left h2 {
        margin-bottom: 16px;
        color: #1a1a2e;
        font-family: 'Sora', 'Segoe UI', sans-serif;
        font-weight: 700;
    }

    .para-text-left p {
        color: #444;
        font-size: .95rem;
        line-height: 1.75;
        margin: 0;
    }

.para-right-img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 300px;
    flex: 0 0 300px;
    text-align: center;
}

    .para-right-img img {
        width: 260px;
        border-radius: 12px;
        display: block;
        margin: 0 auto;
    }

/* ============================================
   PARTNERS
   ============================================ */
.partners-section {
    padding: 56px 0;
    background: #fff;
}

    .partners-section .gradient-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .partners-section .section-title-dark {
        text-align: center;
        margin-bottom: 32px;
    }

        .partners-section .section-title-dark h2 {
            color: #1a1a2e;
            margin-bottom: 8px;
        }

    .partners-section ul.row {
        list-style: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 24px;
        padding: 0;
        margin: 0;
    }

    .partners-section li {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 200px;
        flex: 0 1 200px;
    }

    .partners-section .product-box {
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 20px;
        text-align: center;
        transition: box-shadow .25s ease;
    }

        .partners-section .product-box:hover {
            box-shadow: 0 4px 20px rgba(0,0,0,.08);
        }

        .partners-section .product-box img {
            max-height: 48px;
            object-fit: contain;
            margin: 0 auto;
            display: block;
        }

/* ============================================
   BLOG SECTION
   ============================================ */
#blog {
    padding: 0;
    background: none;
}

.blog-wrp {
    padding: 64px 0;
    background: #f7f8fa !important;
}

    .blog-wrp .section-title-dark {
        margin-bottom: 32px;
    }

        .blog-wrp .section-title-dark h2 {
            color: #1a1a2e;
        }

        .blog-wrp .section-title-dark p {
            color: #888;
            font-size: .95rem;
        }

.viewmore {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: #00b386;
    text-decoration: none;
    transition: color .25s ease;
}

    .viewmore:hover {
        color: #009970;
    }

.blog-wrp .affa-post figure {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
}

    .blog-wrp .affa-post figure img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

    .blog-wrp .affa-post figure:hover img {
        transform: scale(1.04);
    }

.blog-wrp .post-item-txt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    padding: 20px 16px 14px;
    color: #fff;
}

    .blog-wrp .post-item-txt h3 {
        font-size: .95rem;
        margin-bottom: 4px;
        margin-top: 0;
    }

        .blog-wrp .post-item-txt h3 a {
            color: #fff;
            text-decoration: none;
        }

    .blog-wrp .post-item-txt .entry-content {
        font-size: .78rem;
        opacity: .8;
    }

/* ============================================
   CITY SELECT MODAL
   ============================================ */
.cities-view .modal-content {
    border-radius: 12px;
    border: none;
}

.cities-view .modal-header {
    border-bottom: none;
    padding: 16px 20px 0;
}

.cities-view .modal-body {
    padding: 20px;
}

.city-box-wrp h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.top-cities-list h5,
.all-cities-lst h5 {
    font-size: .85rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.top-cities-list ul {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.top-cities-list li .city-icon img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 6px;
    display: block;
}

.top-cities-list li h6 {
    font-size: .78rem;
    color: #444;
    text-align: center;
    margin: 0;
}

.city-box-search {
    position: relative;
    margin: 20px 0;
}

    .city-box-search .city-img {
        position: absolute;
        top: 50%;
        left: 12px;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 18px;
        display: block;
    }

    .city-box-search .form-control {
        padding-left: 38px;
        border-radius: 8px;
        border: 1px solid #ddd;
        height: 42px;
        font-size: .9rem;
    }

/* ============================================
   SECTION TITLE DARK (shared utility)
   ============================================ */
.section-title-dark {
    margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    #owl-demo .item,
    #owl-demo .item img {
        min-height: 320px;
        height: 320px;
    }

    .caption h2 {
        font-size: 1.4rem;
    }

    .home-list-inner {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(50% - 20px);
        flex: 0 1 calc(50% - 20px);
    }

    .tab-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .taglist .mob-1 {
        display: none;
    }

    .para-right-img {
        display: none;
    }

    .paralax-sections .container-fluid {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .partners-section li {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 140px;
        flex: 0 1 140px;
    }
}

@media (max-width: 480px) {
    .home-list-inner {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(50% - 10px);
        flex: 0 1 calc(50% - 10px);
    }

    .banner-section {
        min-height: 364px;
    }
}
