/* =====================================================
   INDIA DIGITAL BUSINESS - GOOGLE STYLE HOME PAGE
===================================================== */

.idb-search-hero {
    position: relative;
    padding: 55px 0 45px;
    background:
        linear-gradient(
            135deg,
            #eef6ff 0%,
            #ffffff 55%,
            #eaf4ff 100%
        );
    overflow: hidden;
}

.idb-search-content {
    max-width: 1050px;
    margin: auto;
    text-align: center;
}

.idb-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 15px;

    border-radius: 30px;

    background: #f0f6ff;

    color: #2167d5;

    font-size: 13px;
    font-weight: 600;
}

.idb-search-content h1 {
    margin: 15px 0 7px;

    color: #14264b;

    font-size: 48px;
    font-weight: 800;
}

.idb-search-content h1 span {
    color: #f47721;
}

.idb-search-content > p {
    margin: 0 0 28px;

    color: #687993;

    font-size: 17px;
}


/* SEARCH */

.idb-main-search {
    max-width: 800px;
    height: 60px;

    display: flex;

    margin: auto;

    background: #fff;

    border: 1px solid #dce5f2;

    border-radius: 35px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(31,78,140,.12);
}

.idb-search-input {
    flex: 1;

    display: flex;
    align-items: center;

    padding: 0 20px;
}

.idb-search-input i {
    color: #71809a;

    margin-right: 12px;
}

.idb-search-input input {
    width: 100%;

    border: 0;
    outline: 0;

    font-size: 16px;
}

.idb-main-search button {
    width: 125px;

    border: 0;

    background: #1468e8;

    color: #fff;

    font-size: 16px;

    font-weight: 600;
}


/* FILTERS */

.idb-search-filters {
    max-width: 800px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin: 18px auto 15px;
}

.idb-search-filters select {
    height: 48px;

    border: 1px solid #dce4ef;

    border-radius: 8px;

    padding: 0 14px;

    background: #fff;

    color: #3b4c68;
}


/* POPULAR SEARCH */

.idb-popular-searches {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    font-size: 13px;
}

.idb-popular-searches strong {
    color: #273956;
}

.idb-popular-searches a {
    padding: 6px 12px;

    border-radius: 20px;

    background: #eaf2ff;

    color: #1765d1;

    text-decoration: none;
}


/* SECTION */

.idb-categories-section,
.idb-featured-section,
.idb-states-section,
.idb-recent-section {
    padding: 48px 0;
    background: #fff;
}

.idb-section-heading {
    margin-bottom: 25px;
}

.idb-section-heading h2 {
    margin: 0 0 6px;

    color: #152440;

    font-size: 26px;
    font-weight: 750;
}

.idb-section-heading p {
    margin: 0;

    color: #718097;

    font-size: 14px;
}


/* CATEGORIES */

.idb-category-grid {
    display: grid;

    grid-template-columns:
        repeat(10, 1fr);

    border: 1px solid #edf1f7;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(25,60,100,.06);
}

.idb-category-card {
    min-height: 125px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 15px 8px;

    border-right: 1px solid #edf1f7;

    text-decoration: none;

    transition: .25s;
}

.idb-category-card:hover {
    background: #f7fbff;
    transform: translateY(-2px);
}

.idb-category-icon {
    color: #1468e8;

    font-size: 28px;

    margin-bottom: 10px;
}

.idb-category-card h6 {
    margin: 0 0 5px;

    color: #17243b;

    font-size: 12px;

    text-align: center;
}

.idb-category-card small {
    color: #75839a;

    font-size: 10px;

    text-align: center;
}

.idb-view-all {
    color: #1468e8;
}


/* FEATURED */

.idb-featured-section {
    background: #f8fafc;
}

.idb-featured-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.idb-featured-heading > a {
    color: #1268e8;

    font-size: 13px;

    text-decoration: none;
}

.idb-business-card {
    height: 100%;

    padding: 18px;

    background: #fff;

    border: 1px solid #e6ebf2;

    border-radius: 10px;

    box-shadow:
        0 4px 15px rgba(20,50,90,.06);

    transition: .25s;
}

.idb-business-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(20,50,90,.12);
}

.idb-business-top {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 15px;
}

.idb-business-logo {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #f0f6ff;

    color: #1468e8;

    font-size: 25px;

    font-weight: 800;
}

.idb-business-title {
    flex: 1;

    display: flex;
    justify-content: space-between;
}

.idb-business-title h5 {
    margin: 0;

    color: #17243b;

    font-size: 15px;
}

.idb-business-title span {
    color: #9ba8b9;
}

.idb-business-info strong {
    color: #4a5a70;

    font-size: 13px;
}

.idb-business-info p {
    margin: 5px 0;

    color: #718097;

    font-size: 12px;
}

.idb-rating {
    display: flex;
    align-items: center;

    gap: 4px;

    font-size: 11px;
}

.idb-rating i {
    color: #ffb000;
}

.idb-rating span {
    color: #8490a2;
}

.idb-view-business {
    display: block;

    margin-top: 15px;

    padding: 7px;

    border: 1px solid #1468e8;

    border-radius: 5px;

    color: #1468e8;

    font-size: 12px;

    text-align: center;

    text-decoration: none;
}


/* STATES */

.idb-states-section {
    background: #fff;
}

.idb-state-card {
    position: relative;

    height: 125px;

    display: flex;
    align-items: flex-end;

    padding: 15px;

    border-radius: 8px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #1768c9,
            #0c397c
        );

    color: #fff;

    text-decoration: none;
}

.idb-state-card:before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(255,255,255,.25),
            transparent 45%
        );
}

.idb-state-overlay {
    position: relative;
    z-index: 2;
}

.idb-state-card h5 {
    margin: 0 0 4px;

    font-size: 16px;
}

.idb-state-card span {
    font-size: 11px;
}

.idb-all-states {
    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 8px;

    background: #fff;

    border: 1px dashed #8bb5ec;

    color: #1468e8;
}


/* WHY */

.idb-why-section {
    padding: 45px 0;

    background: #eef6ff;
}

.idb-why-section .idb-section-heading {
    text-align: center;
}

.idb-why-card {
    height: 100%;

    padding: 20px 10px;

    text-align: center;
}

.idb-why-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: auto auto 12px;

    border-radius: 50%;

    background: #fff;

    color: #1468e8;

    font-size: 22px;

    box-shadow:
        0 5px 15px rgba(20,80,150,.1);
}

.idb-why-card h6 {
    margin-bottom: 6px;

    color: #17243b;

    font-size: 13px;
}

.idb-why-card p {
    margin: 0;

    color: #708098;

    font-size: 11px;
}


/* RECENT */

.idb-recent-section {
    background: #f8fafc;
}

.idb-recent-card {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px;

    background: #fff;

    border: 1px solid #e7ecf3;

    border-radius: 8px;
}

.idb-recent-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #edf5ff;

    color: #1468e8;

    font-size: 20px;
}

.idb-recent-card h6 {
    margin: 0 0 5px;

    color: #17243b;

    font-size: 13px;
}

.idb-recent-card p {
    margin: 0 0 3px;

    color: #5f6f85;

    font-size: 11px;
}

.idb-recent-card small {
    color: #8a96a8;

    font-size: 10px;
}


/* RESPONSIVE */

@media(max-width:991px) {

    .idb-category-grid {
        grid-template-columns:
            repeat(5, 1fr);
    }

    .idb-search-content h1 {
        font-size: 40px;
    }

}

@media(max-width:575px) {

    .idb-search-hero {
        padding: 35px 0;
    }

    .idb-search-content h1 {
        font-size: 32px;
    }

    .idb-search-content > p {
        font-size: 14px;
    }

    .idb-main-search {
        height: 54px;
    }

    .idb-main-search button {
        width: 90px;
    }

    .idb-search-filters {
        grid-template-columns: 1fr;
    }

    .idb-category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .idb-featured-heading {
        display: block;
    }

    .idb-featured-heading > a {
        display: inline-block;
        margin-top: 8px;
    }

}