
/* ============================================
   CATEGORIES PAGE - CLEAN DESIGN
   Primary: #f79433 | Secondary: #217abe
   ============================================ */

/* Page Header */
.page-header {
    background-color: #f79433;
    color: white;
    padding: 70px 0 80px;
    margin-bottom: 0;
    position: relative;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/" !important;
    color: rgba(255, 255, 255, 0.6);
    float: right;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 15px;
}

.section-title p {
    color: #636e72;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories-page {
    padding: 80px 0;
    background-color: #fff;
}

/* Category Cards */
.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #f79433;
}

/* Category Icon */
.category-icon {
    width: 90px;
    height: 90px;
    background: #fbf3e6;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: #f79433;
    transform: rotate(-5deg);
}

.category-card:hover .category-icon img,
.category-card:hover .category-icon i {
    filter: brightness(0) invert(1);
}

.category-icon img {
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 40px;
    color: #f79433;
    transition: all 0.3s ease;
}

/* Category Title */
.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 12px;
}

/* Category Description */
.category-desc {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Category Meta */
.category-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.count {
    font-weight: 600;
    color: #f79433;
    background: #fbf3e6;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.btn-view-more {
    color: #217abe;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.btn-view-more:hover {
    color: #f79433;
}

.btn-view-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-view-more:hover i {
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 50px 0 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .categories-page {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .category-card {
        padding: 25px 20px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    .category-icon img {
        width: 35px;
        height: 35px;
    }
}
