﻿/* CATEGORIES SECTION */
.categories-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.categories-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}


.category-card {
    width: 100%;
    max-width: 500px;
    min-height: 280px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}


    .category-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }


.Mcategory-card {
    background: linear-gradient(270deg, #FF8126ff, #FD9140ff, #FBA05Aff, #F9B074ff, #F6C08Dff, #F4CFA7ff, #F2DFC1ff);
}


.Wcategory-card {
    background: linear-gradient(270deg, #0F3057ff, #2D4A71ff, #4B648Bff, #697EA5ff, #8698BEff, #A4B2D8ff, #C2CCF2ff);
}


.category-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #fff;
    text-align: right;
    z-index: 2;
    max-width: 60%;
}

    .category-content h3 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

.category-buttons {
    margin-bottom: 0;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

    .btn-outline:hover {
        background: #fff;
        color: #0F3057;
        transform: scale(1.05);
    }


.category-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

    .category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.category-card:hover .category-image img {
    transform: scale(1.1);
}
