﻿.bm-popular-categories {
    width: 100%;
    padding: 80px 20px;
    background: #f7f9fc;
    color: #17212b;
    font-family: Arial, Helvetica, sans-serif;
}

.bm-pc-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* Header */

.bm-pc-header {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.bm-pc-header > span,
.bm-pc-cta > div > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #1d6f42;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.bm-pc-header h2 {
    margin: 0 0 15px;
    font-size: 36px;
    line-height: 1.25;
}

.bm-pc-header p {
    margin: 0;
    color: #68737e;
    font-size: 16px;
    line-height: 1.8;
}


/* Category Grid */

.bm-pc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}


/* Category Card */

.bm-pc-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 245px;
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #17212b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bm-pc-card:hover {
    transform: translateY(-5px);
    border-color: #1d6f42;
    box-shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
}


/* Number */

.bm-pc-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #e4e9ec;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}


/* Icon */

.bm-pc-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #eaf5ee;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}


/* Content */

.bm-pc-content h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.4;
}

.bm-pc-content p {
    min-height: 65px;
    margin: 0 0 18px;
    color: #68737e;
    font-size: 13px;
    line-height: 1.7;
}

.bm-pc-content span {
    color: #1d6f42;
    font-size: 12px;
    font-weight: 700;
}

.bm-pc-card:hover .bm-pc-content span {
    color: #258653;
}


/* CTA */

.bm-pc-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 45px 50px;
    border-radius: 12px;
    background: #17212b;
    color: #ffffff;
}

.bm-pc-cta > div > span {
    color: #7bc69c;
}

.bm-pc-cta h2 {
    max-width: 750px;
    margin: 0 0 10px;
    font-size: 27px;
    line-height: 1.35;
}

.bm-pc-cta p {
    max-width: 700px;
    margin: 0;
    color: #d1d9de;
    font-size: 14px;
    line-height: 1.7;
}

.bm-pc-cta > a {
    flex-shrink: 0;
    padding: 13px 25px;
    border-radius: 5px;
    background: #1d6f42;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.bm-pc-cta > a:hover {
    background: #258653;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .bm-pc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-pc-cta {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 700px) {

    .bm-popular-categories {
        padding: 60px 18px;
    }

    .bm-pc-header h2 {
        font-size: 29px;
    }

    .bm-pc-grid {
        grid-template-columns: 1fr;
    }

    .bm-pc-card {
        min-height: auto;
    }

    .bm-pc-content p {
        min-height: auto;
    }

    .bm-pc-cta {
        padding: 35px 25px;
    }

    .bm-pc-cta h2 {
        font-size: 24px;
    }

}


@media (max-width: 450px) {

    .bm-popular-categories {
        padding: 45px 14px;
    }

    .bm-pc-header h2 {
        font-size: 25px;
    }

    .bm-pc-header p {
        font-size: 14px;
    }

    .bm-pc-card {
        padding: 23px;
    }

    .bm-pc-number {
        font-size: 28px;
    }

    .bm-pc-cta {
        padding: 30px 22px;
    }

    .bm-pc-cta > a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

}
