.imgCategoryMain h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.category-card {
    background-color: #fff;
    border-radius: 10px;
    border: 4px solid #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 0 0 6px 6px;
}

.category-title {
    padding: 15px 10px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.why-card-div h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.why-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.why-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: calc(25% - 15px); /* 4 why-cards in a row */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.why-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.why-card-content {
    background-color: #1f3d9b;
    color: white;
    padding: 40px 20px 20px;
    position: relative;
    flex: 1;
}

.why-card-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background-color: white;
    border-radius: 50%;
    border: 4px solid #1f3d9b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card-icon img {
    width: 24px;
    height: 24px;
}

.why-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-card-desc {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive CSS */
@media (max-width: 1024px) {
    .why-card {
        width: calc(33.33% - 15px); /* 3 why-cards in a row */
    }
}

@media (max-width: 768px) {
    .why-card {
        width: calc(50% - 15px); /* 2 why-cards in a row */
    }
}

@media (max-width: 600px) {
    .imgCategoryMain h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .category-title {
        font-size: 14px;
    }

    .category-card img {
        height: 150px;
    }
}
@media (max-width: 480px) {
    .why-card {
        width: 100%; /* 1 why-card per row */
    }

    .why-card-content {
        padding-top: 50px;
    }
}