/* Categories Page Specific Styles */

/* Page Title Section */
.page-title-section {
    background:  linear-gradient(135deg, black 100%,  black 100%, black 100%, black 100%);
    color: white;
    background-size: cover;
    padding: 80px 0 70px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight:bolder;
}

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

/* Categories Grid Section */
.categories-grid-section {
    padding: 0 0 80px;
}

.category-card-large {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-large:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.category-card-large:hover .category-overlay {
    opacity: 1;
}

.category-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.category-card-large h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.category-card-large p {
    color: var(--grey-color);
    margin-bottom: 20px;
}

.category-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.category-features span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.category-features i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1rem;
}

.btn-link {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-color);
}

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

/* Help Section */
.help-section {
    padding: 0 0 100px;
}

.help-container {
    opacity: 1; transform: translateY(0px); transition: opacity 0.8s, transform 0.8s;
    background: linear-gradient(135deg, var(--secondary-color) 0%, black, var(--primary-color) 100%);
    padding: 50px;
    border-radius: var(--border-radius);
    color: white;
    box-shadow: var(--box-shadow);
}

.help-container h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.help-container p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.help-container .btn {
    padding: 12px 30px;
    font-weight: 600;
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.help-container .btn:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .page-title {
        font-size: 2.3rem;
    }
    
    .help-container {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .page-title-section {
        padding: 60px 0 50px;
        margin-bottom: 40px;
        height:400px;
    }
    
    .category-features {
        grid-template-columns: 1fr;
    }
    
    .help-container {
        padding: 30px 20px;
        text-align: center;
    }
    
    .help-container .btn {
        margin-top: 15px;
    }
}

@media (max-width: 575px) {
    .page-title {
        font-size: 2rem;
    }
    
    .category-content {
        padding: 25px 20px;
    }
}