/* SEO Tools Collection Styles */
.seo-tools-collection-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}

/* Header Styling */
.tools-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    position: relative;
}

.tools-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4a6bdf;
    border-radius: 2px;
}

.tools-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 700;
    background: linear-gradient(to right, #4a6bdf, #8364e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tools-description {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Controls */
.tools-filter-controls {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

#tools-search {
    width: 100%;
    padding: 15px 15px 15px 45px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    transition: all 0.3s ease;
}

#tools-search:focus {
    border-color: #4a6bdf;
    box-shadow: 0 0 0 3px rgba(74, 107, 223, 0.2);
    outline: none;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 18px;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: #f0f0f0;
    color: #4a6bdf;
}

.filter-btn.active {
    background-color: #4a6bdf;
    color: white;
    border-color: #4a6bdf;
}

.filtered-count {
    margin-bottom: 1.5rem;
    padding: 12px 20px;
    background-color: #f0f4ff;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #4a6bdf;
}

/* Tool Cards Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.tool-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card-inner {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, color 0.3s ease;
    position: relative;
    padding: 25px;
    border-top: 4px solid #4a6bdf;
    color: #333; /* Default text color */
}

.tool-card:hover .tool-card-inner {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    color: #4a6bdf; /* Text color on hover */
}

.tool-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 15px;
    color: #4a6bdf;
    background-color: rgba(74, 107, 223, 0.1);
}

.tool-icon i {
    font-size: 20px;
}

.tool-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-name {
    color: #4a6bdf;
}

.tool-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-description {
    color: #4a6bdf;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
	display: none;
}

.tool-tag {
 	background-color: transparent;
    color: transparent; 
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tool-card:hover .tool-tag {
    background-color: rgba(74, 107, 223, 0.1);
    color: #4a6bdf;
}

/* No Results Styling */
.no-results {
    text-align: center;
    padding: 60px 0;
    color: #666;
}

.no-results-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.no-results p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.clear-filters-btn {
    padding: 10px 20px;
    background-color: #4a6bdf;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tools-title {
        font-size: 2rem;
    }
    
    .tools-description {
        font-size: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}