.footer {
    background: #fff url('https://www.dentalkart.com/footerImage.png') repeat;
    background-size: 300px;
    border-top: 2px solid #0056b3;
    font-family: 'Segoe UI', sans-serif;
}

/* TOP BAR */
.top-bar {
    background: #f3f6fb;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.top-bar .left,
.top-bar .right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.label {
    font-size: 14px;
    font-weight: 600;
    color: #1d2a35;
      font-family: 'Poppins',sans-serif;
      line-height: 21px;
      
}

.icons {
    display: flex;
    gap: 6px;
}

.icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
}

.followers {
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;   /* vertically aligns the numbers and text */
    gap: 5px;   
    color: #000;           /* space between number and text */
}

.followers .count {
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;    /* keep px unit consistent */
       /* blue or your desired color */
}

.followers .text {
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;    /* match .count line-height */
   
}
.app-text {
    font-size: 14px;
    font-weight: 500;
    color: #1d2a35;
    font-family: 'Poppins', sans-serif;
}

.store {
    height: 30px;
    border: 1px solid #000;
    border-radius: 6px;
    padding: 2px 6px;
    background: #fff;
}

.users {
    display: flex;
    align-items: center;
}

.users img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-left: -8px;
    border: 2px solid #fff;
}

.users span {
    margin-left: 8px;
    font-weight: 600;
    font-size: 13px;
}

/* MAIN GRID */
.main-footer {
    padding: 30px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1px 2fr;
    gap: 30px;
}

.grid h4 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #556575;
    font-family: 'Poppins',sans-serif;
}

.grid a {
    display: block;
    font-size: 13px;
    line-height: 24px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #556575 !important;
    text-decoration: none;
}
.grid a:hover {
      color: #ec5104 !important; 
}

.divider {
    background: repeating-linear-gradient(
        to bottom,
        #ccc,
        #ccc 5px,
        transparent 5px,
        transparent 10px
    );
    width: 1px;
}

/* ADDRESS */
.address p {
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    margin-bottom: 6px;
    font-family: 'Poppins',sans-serif;
    color: #556575;
}
.address p:hover {
color: #ec5104 !important;
}
.company {
    margin-top: 10px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    font-family: 'Poppins',sans-serif;
    color: #556575;
}

/* WAREHOUSE */
.warehouse {
    margin: 20px 0;
 line-height: 24px;
 font-weight: 500;
 color: #556575;
 font-family: 'Poppins',sans-serif;
    font-size: 16px;
}

/* PAYMENT */
.payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #0056b3;
    padding-top: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
}

.payment img {
    height: 20px;
    margin-left: 10px;
}

.rating {
    border: 1px solid #ddd;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 4px;
}
/* ================= RESPONSIVE FIX ================= */

/* ===== TABLET (992px to 576px) ===== */
@media (max-width: 991px) and (min-width: 577px) {

    .top-bar .container-fluid {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap; /* allow items to wrap */
        gap: 10px;
    }

    /* LEFT always on top */
    .top-bar .left {
        flex: 1 1 100%; /* full width on top row */
        display: flex;
        flex-wrap: wrap; /* wrap icons and followers */
        align-items: center;
        gap: 10px;
    }

    /* Move followers and users below icons */
    .followers {
        order: 2; /* after icons */
        width: 100%;
        margin-top: 5px;
    }

    .top-bar .right {
        flex: 1 1 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 5px; /* small gap if wraps */
    }

    .users {
        order: 2; /* move users below app & store badges if needed */
        width: 100%;
        justify-content: flex-start;
        margin-top: 5px;
    }

    /* GRID stays same as desktop */
    .grid {
        grid-template-columns: repeat(4, 1fr) 1px 2fr;
        gap: 30px;
    }

    .divider {
        display: block;
    }
}


/* ===== MOBILE ONLY (≤576px) ===== */
@media (max-width: 576px) {

    /* Stack top bar */
    .top-bar .container-fluid {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .top-bar .left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Hide right section */
    .top-bar .right {
        display: none !important;
    }

    /* Icons wrap */
    .icons {
        flex-wrap: wrap;
    }

    /* Followers spacing */
    .followers {
        margin-top: 5px;
    }

    /* Grid → 2 columns */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Remove divider */
    .divider {
        display: none;
    }

    /* Address full width */
    .address {
        grid-column: span 2;
    }

    /* Payment stack */
    .payment {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rating {
        margin-top: 8px;
    }

    /* Warehouse */
    .warehouse {
        font-size: 12px;
    }
}

