/* Health Page Specific Styles */

/* Breadcrumb Styles */
.breadcrumb {
    background: hsl(0, 0%, 100%);
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #000000;
    font-size: 0.9rem;
    color: #000000;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.breadcrumb a i,
.breadcrumb span i {
    margin-right: 0.4rem;
    font-size: 0.85rem;
}

.breadcrumb a:hover {
    color: #000000;
    text-decoration: underline;
}

.breadcrumb .breadcrumb-separator {
    margin: 0 0.5rem;
    color: #000000;
}

/* Category Header Styles */
.category-header {
    background-color: #f0f7ff;
    border-radius: 10px;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-header h1 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #000000;
    margin: 0 0 0.75rem 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.text-center {
    justify-content: center;
    text-align: center;
}

.category-header i {
    color: #000000;
}

/* Health Tools Grid */
.tools-grid {
    margin-bottom: 3rem;
}

/* Category Info Section */
.category-info {
    background-color: #fff;
    padding: 3rem 0;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

.category-info h2 {
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-info p {
    color: #000000;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #000000;
}

.feature-card p {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.back-to-top a i {
    margin-right: 0.5rem;
}

.back-to-top a:hover {
    background-color: #2c4a7a;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-header {
        padding: 1.5rem 0;
    }
    
    .category-header h1 {
        font-size: 1.8rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .back-to-top a {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Animation for Back to Top Button */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.back-to-top a:hover {
    animation: float 1.5s ease-in-out infinite;
}
