.featured-ads {
    max-width: 600px;
    padding: 30px 20px;
}

.featured-ads h1 {
    font-size: 30px;
    font-weight: 700;
    color: #0b1f3b;
    margin: 0;
}

.featured-ads p {
    margin-top: 10px;
    color: #777;
    font-size: 16px;
}

.highlight {
    background: #c10037;
    color: #ffffff;
    padding: 16px 10px;
    border-radius: 50%;
    display: inline-block;
    line-height: 1;
}

* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #e6f7fb!important;
}

.containersx {
padding-left: 40px;
padding-right: 40px;
margin: auto;
    
}

.category-section {
    padding: 60px 0;
    
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    
}

.section-header h2 {
    font-size: 32px;
}

.section-header h2 span {
    color: #e11d48;
}

.section-header p {
    color: #666;
}

.view-all {
    padding: 10px 20px;
    border: 1px solid #e11d48;
    color: #e11d48;
    text-decoration: none;
    border-radius: 6px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.category-card {
    background: #ffffff;   /* white box */
    border: 1px solid #f0f0f0;
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #111;
    transition: 0.3s;
}


.category-card {
    background: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}


.category-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.category-card img {
    width: 60px;
    margin-bottom: 15px;
}

.category-card h4 {
    margin: 5px 0;
}

.category-card span {
    color: #666;
    font-size: 14px;
}

/* Category page */
.category-detail {
    text-align: center;
    padding: 80px;
}


/* Mobile: move View All to next row */
@media (max-width: 576px) {
    .section-header {
        flex-wrap: wrap;
    }

    .view-all {
        width: 40%;
        margin-top: 12px;
        text-align: center;
    }
}



/* ==============================
   MOBILE OPTIMIZED – 4 COLUMNS
============================== */
@media (max-width: 576px) {


    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 12px 6px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .category-card img {
        width: 34px;
        margin-bottom: 6px;
    }

    .category-card h4 {
        font-size: 11px;
        margin: 0;
        line-height: 1.2;
    }

    .category-card span {
        display: none; /* hide ads count on mobile */
    }
}

@media (max-width: 576px) {
    .category-card:hover {
        transform: none;
    }
}



@media (min-width: 1200px) {
    .h4, h4 {
        font-size: 1.2rem!important;
    }

}