/*
 * AI Tools Directory - Main Stylesheet
 * Optimized for SEO and Performance
 */

/* ===== Variables ===== */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #14b8a6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f0fdfa;
    --border-color: #d1fae5;
    --shadow-sm: 0 1px 3px rgba(59,130,246,0.12);
    --shadow-md: 0 5px 15px rgba(59,130,246,0.08);
    --shadow-lg: 0 15px 30px rgba(16,185,129,0.15);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Cards ===== */
.card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: none;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-card h5,
.tool-card h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Tool cards in grid layouts need height 100% */
.row .col-md-6 .tool-card,
.row .col-lg-4 .tool-card,
.row .col-md-4 .tool-card {
    height: 100%;
}

/* Clear fix for sections */
section {
    clear: both;
    position: relative;
}

/* Background sections */
.bg-light {
    background-color: var(--bg-light) !important;
    clear: both;
    position: relative;
}

.bg-light.related-tools-section {
    margin-top: 3rem !important;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* ===== Badges ===== */
.pricing-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* ===== Buttons ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #00438a);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== Forms ===== */
.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* ===== Search Box ===== */
.search-box {
    background: white;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: none;
    font-size: 1.1rem;
    width: 100%;
    max-width: 500px;
}

.search-box:focus {
    outline: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ===== Icons ===== */
.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.category-icon i {
    color: white !important;
    font-size: 2.5rem;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.tool-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

/* ===== Newsletter ===== */
.newsletter-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 4rem 0;
}

.newsletter-form {
    border-radius: 15px;
    padding: 0rem;
    backdrop-filter: blur(10px);
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: white;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

/* ===== Pagination ===== */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
    color: #000;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* ===== Utilities ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ===== Performance Optimization ===== */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* ===== Accessibility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Category & Tools Headers ===== */
.category-header,
.tools-header {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.category-header::before,
.tools-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.2;
}

/* ===== Blog Page ===== */
.blog-header {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.2;
}

/* ===== Search Page ===== */
.search-header {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 4rem 0;
}

.filter-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: none;
    margin-bottom: 2rem;
}

.post-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

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

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.blog-content h1, .blog-content h2, .blog-content h3 {
    color: var(--text-dark);
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.blog-content p {
    margin-bottom: 0rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.related-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

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

/* ===== Tool Detail Page ===== */
.tool-header {
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.tool-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.tool-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.2);
    background: white;
    padding: 10px;
}

.tool-info-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

/* Main tool content section */
section.py-5:not(.related-tools-section) {
    position: relative;
    z-index: 2;
}

section.py-5:not(.related-tools-section)::after {
    content: '';
    display: block;
    clear: both;
    height: 0;
}

.tool-info-section h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.tool-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.pros-cons {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.pros-cons h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pros-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-cons li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.pros-cons li:last-child {
    border-bottom: none;
}

.pros-cons .pros li::before {
    content: "✅";
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pros-cons .cons li::before {
    content: "❌";
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pricing-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-info .price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.btn-visit-website {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-visit-website:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-share {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
}

.stats-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-tools-section {
    clear: both !important;
    margin-top: 0 !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    position: relative;
    z-index: 1;
}

.related-tools-section h2 {
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

.related-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

/* Duplicate removed - using main category-icon CSS */

/* ===== Contact Page ===== */
.contact-header {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 4rem 0;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: none;
}

.contact-info {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
}

/* ===== Homepage Styles (Blue Theme) ===== */
.homepage-wrapper {
    background: #ffffff;
}

.homepage-hero {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 120px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.homepage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-grid)"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="60" cy="40" r="0.8" fill="rgba(255,255,255,0.15)"/><circle cx="80" cy="80" r="1.2" fill="rgba(255,255,255,0.1)"/><rect x="10" y="10" width="2" height="2" fill="rgba(255,255,255,0.1)"/><rect x="70" y="70" width="1.5" height="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    opacity: 0.6;
    animation: techPattern 20s linear infinite;
}

@keyframes techPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(20px) translateY(20px); }
}

.homepage-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.homepage-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease;
}

.homepage-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.homepage-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.homepage-search-box {
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
}

.homepage-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.homepage-search-form:focus-within {
    box-shadow: 0 25px 70px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

.homepage-search-icon {
    color: #6c757d;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.homepage-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    padding: 12px 0;
    color: #333;
}

.homepage-search-input::placeholder {
    color: #adb5bd;
}

.homepage-search-btn {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.homepage-search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0,123,255,0.4);
}

.homepage-hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.homepage-hero-tag-label {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
}

.homepage-hero-tag {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.homepage-hero-tag:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    color: white;
    transform: translateY(-2px);
}

.homepage-categories-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.homepage-section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.homepage-section-subtitle {
    font-size: 1.2rem;
    color: #718096;
}

.homepage-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.homepage-category-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.homepage-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,123,255,0.1), transparent);
    transition: left 0.5s;
}

.homepage-category-card:hover::before {
    left: 100%;
}

.homepage-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,123,255,0.2);
    border-color: #007bff;
}

.homepage-category-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    transition: all 0.4s;
}

.homepage-category-card:hover .homepage-category-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0,123,255,0.4);
}

.homepage-category-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.homepage-category-desc {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 15px;
}

.homepage-category-count {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.homepage-tools-section {
    padding: 80px 0;
    background: white;
}

.homepage-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.homepage-tool-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #f8f9fa;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.homepage-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,123,255,0.15);
    border-color: #007bff;
}

.homepage-tool-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.homepage-tool-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: #f8f9fa;
    padding: 10px;
    flex-shrink: 0;
}

.homepage-tool-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    flex: 1;
}

.homepage-tool-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f8f9fa;
}

.homepage-tool-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    color: #718096;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.homepage-tool-pricing-tag {
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
}

.homepage-tool-pricing-tag.free {
    background: #d4edda;
    color: #155724;
}

.homepage-tool-pricing-tag.paid {
    background: #fff3cd;
    color: #856404;
}

.homepage-tool-pricing-tag.freemium {
    background: #d1ecf1;
    color: #0c5460;
}

.homepage-blog-section {
    padding: 80px 0;
    background: white;
}

.homepage-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.homepage-blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #f8f9fa;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.homepage-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,123,255,0.15);
    border-color: #007bff;
}

.homepage-blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.homepage-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.homepage-blog-card:hover .homepage-blog-image img {
    transform: scale(1.1);
}

.homepage-blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.homepage-blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.homepage-blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-blog-excerpt {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.homepage-blog-readmore {
    color: #007bff;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.homepage-blog-card:hover .homepage-blog-readmore {
    gap: 12px;
}

.homepage-newsletter-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.homepage-newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.homepage-newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.homepage-newsletter-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.homepage-newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.homepage-newsletter-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.homepage-newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 550px;
    margin: 0 auto;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.homepage-newsletter-input {
    flex: 1;
    padding: 18px 25px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.homepage-newsletter-btn {
    background: #2d3748;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.homepage-newsletter-btn:hover {
    background: #1a202c;
    transform: translateY(-2px);
}

.homepage-stats-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.homepage-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.homepage-stat-item {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.homepage-stat-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 5px;
}

.homepage-stat-number {
    font-size: 30px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0px;
}

.homepage-stat-label {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 600;
}

/* ===== Tool Detail Page (Blue Theme) ===== */
.tool-page-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
}

.tool-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.tool-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.tool-breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 30px;
}

.tool-breadcrumb .breadcrumb {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 0;
}

.tool-breadcrumb .breadcrumb-item,
.tool-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.tool-breadcrumb .breadcrumb-item.active {
    color: white;
}

.tool-header-content {
    position: relative;
    z-index: 2;
}

.tool-main-info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.tool-logo-wrapper {
    flex-shrink: 0;
}

.tool-main-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    background: white;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 3px solid rgba(255,255,255,0.3);
}

.tool-logo-placeholder {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    padding: 0;
}

.tool-logo-placeholder i {
    color: white;
}

.tool-title-area h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.tool-meta-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tool-category-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.tool-category-badge:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    transform: translateY(-2px);
}

.tool-pricing-badge {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.tool-pricing-badge.paid {
    background: #ffc107;
    color: #000;
}

.tool-pricing-badge.freemium {
    background: #17a2b8;
}

.tool-description-preview {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    margin-bottom: 25px;
}

.tool-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-visit-btn {
    background: #28a745;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.tool-visit-btn:hover {
    background: #218838;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

.tool-share-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tool-share-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.tool-content-area {
    padding: 60px 0;
}

.tool-detail-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tool-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
}

.tool-full-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.tool-pros-cons-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.tool-pros-box,
.tool-cons-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.tool-pros-box {
    border-left: 4px solid #28a745;
}

.tool-cons-box {
    border-left: 4px solid #dc3545;
}

.tool-pros-title,
.tool-cons-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-pros-title {
    color: #28a745;
}

.tool-cons-title {
    color: #dc3545;
}

.tool-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-list-items li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.6;
}

.tool-list-items li:last-child {
    border-bottom: none;
}

.tool-list-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tool-pricing-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.tool-pricing-label {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.tool-pricing-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
}

.tool-cta-big {
    background: #007bff;
    color: white;
    padding: 18px 50px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.tool-cta-big:hover {
    background: #003d7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.tool-related-section {
    background: white;
    padding: 60px 0;
    margin-top: 40px;
}

.tool-related-title {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
}

.tool-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.related-tool-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    border: 2px solid #f8f9fa;
}

.related-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #007bff;
}

.related-tool-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.related-tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8f9fa;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-tool-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.related-tool-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-tool-pricing {
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.related-tool-pricing.free {
    background: #d4edda;
    color: #155724;
}

.related-tool-pricing.paid {
    background: #fff3cd;
    color: #856404;
}

.related-tool-pricing.freemium {
    background: #d1ecf1;
    color: #0c5460;
}

.related-tool-arrow {
    color: #007bff;
    font-size: 1.2rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .homepage-hero {
        padding: 80px 0 60px 0;
    }

    .homepage-hero h1 {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }
    
    .homepage-hero-subtitle {
        font-size: 1.1rem;
    }

    .homepage-search-form {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .homepage-search-icon {
        display: none;
    }
    
    .homepage-search-input {
        padding: 12px;
        font-size: 1rem;
        text-align: center;
    }

    .homepage-search-btn {
        width: 100%;
        padding: 14px;
    }

    .homepage-hero-tags {
        margin-top: 20px;
    }

    .homepage-hero-tag {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
    
    .homepage-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-tools-grid {
        grid-template-columns: 1fr;
    }

    .homepage-blog-grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-newsletter-form {
        flex-direction: column;
    }
    
    .homepage-newsletter-btn {
        width: 100%;
    }
    
    .homepage-section-title {
        font-size: 2rem;
    }
    
    .tool-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tool-title-area h1 {
        font-size: 2rem;
    }
    
    .tool-pros-cons-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tool-detail-card {
        padding: 25px;
    }
    
    .tool-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Newsletter Notification ===== */
.newsletter-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.3);
    transform: translateX(100%);
    animation: slideInRight 0.5s ease-out forwards;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.newsletter-notification-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.newsletter-notification-icon {
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.newsletter-notification-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.newsletter-notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.newsletter-notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Auto-hide notification after 5 seconds */
.newsletter-notification.auto-hide {
    animation: slideInRight 0.5s ease-out forwards, slideOutRight 0.5s ease-in 4.5s forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== Category Page Styles ===== */
.category-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.category-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.category-breadcrumb {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.category-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.category-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.category-breadcrumb .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-breadcrumb .breadcrumb-link:hover {
    color: white;
}

.category-breadcrumb .breadcrumb-item.active {
    color: white;
    display: flex;
    align-items: center;
}

.category-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.category-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.category-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.category-hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.stat-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Category Filters */
.category-filters-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.category-filters-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.category-filters-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-label i {
    color: #007bff;
}

.filter-input,
.filter-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.filter-actions {
    display: flex;
    gap: 12px;
}

.filter-apply-btn,
.filter-clear-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.filter-apply-btn {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
}

.filter-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.filter-clear-btn {
    background: #6c757d;
    color: white;
}

.filter-clear-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Category Tools */
.category-tools-section {
    padding: 60px 0;
}

.category-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category-tool-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
}

.category-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tool-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.tool-logo-container {
    flex-shrink: 0;
}

.tool-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.tool-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.tool-info {
    flex: 1;
    min-width: 0;
}

.tool-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #212529;
    line-height: 1.3;
}

.tool-featured {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-pricing {
    flex-shrink: 0;
}

.pricing-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-free {
    background: #d4edda;
    color: #155724;
}

.pricing-paid {
    background: #f8d7da;
    color: #721c24;
}

.pricing-freemium {
    background: #fff3cd;
    color: #856404;
}

.tool-card-body {
    margin-bottom: 20px;
}

.tool-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tool-pros {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.tool-pros i {
    margin-top: 2px;
    flex-shrink: 0;
}

.tool-card-footer {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.tool-details-btn,
.tool-visit-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tool-details-btn {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.tool-details-btn:hover {
    background: #e9ecef;
    color: #212529;
}

.tool-visit-btn {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    border: 2px solid transparent;
}

.tool-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

/* Empty State */
.category-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
}

.empty-state-description {
    color: #6c757d;
    margin-bottom: 30px;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

/* Category Pagination */
.category-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-hero-title {
        font-size: 2.5rem;
    }
    
    .category-hero-description {
        font-size: 1.1rem;
    }
    
    .category-filters-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .category-tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .tool-card-footer {
        flex-direction: column;
    }
    
    .category-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .category-hero-section {
        padding: 60px 0 40px;
    }
    
    .category-hero-title {
        font-size: 2rem;
    }
    
    .category-filters-card {
        padding: 20px;
    }
    
    .category-tool-card {
        padding: 20px;
    }
}

/* ===== Tools Page Styles ===== */
.tools-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.tools-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.6;
}

.tools-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.tools-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.tools-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tools-hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.tools-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Tools Filters */
.tools-filters-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.tools-filters-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.tools-filters-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    gap: 20px;
    align-items: end;
}

/* Tools Grid */
.tools-grid-section {
    padding: 60px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.tools-tool-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tools-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
}

.tools-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tool-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.tool-category i {
    color: #007bff;
}

/* Tools Empty State */
.tools-empty-state {
    text-align: center;
    padding: 80px 20px;
}

/* Tools Pagination */
.tools-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Tools Responsive Design */
@media (max-width: 768px) {
    .tools-hero-title {
        font-size: 2.5rem;
    }
    
    .tools-hero-description {
        font-size: 1.1rem;
    }
    
    .tools-filters-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .tool-card-footer {
        flex-direction: column;
    }
    
    .tools-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .tools-hero-section {
        padding: 60px 0 40px;
    }
    
    .tools-hero-title {
        font-size: 2rem;
    }
    
    .tools-filters-card {
        padding: 20px;
    }
    
    .tools-tool-card {
        padding: 20px;
    }
}

/* ===== Tool Page Styles ===== */
.tool-page-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
}

.tool-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.tool-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>');
    opacity: 0.6;
}

.tool-breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 30px;
}

.tool-breadcrumb .breadcrumb {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 0;
}

.tool-breadcrumb .breadcrumb-item,
.tool-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
        display: flex;
    align-items: center;
}

.tool-breadcrumb .breadcrumb-item.active {
    color: white;
}

.tool-header-content {
    position: relative;
    z-index: 2;
}

.tool-main-info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.tool-logo-wrapper {
    flex-shrink: 0;
}

.tool-main-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.tool-logo-placeholder {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.tool-logo-placeholder i {
    color: white;
}

.tool-title-area h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.tool-meta-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tool-category-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.tool-category-badge:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    transform: translateY(-2px);
}

.tool-pricing-badge {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.tool-pricing-badge.paid {
    background: #ffc107;
    color: #000;
}

.tool-pricing-badge.freemium {
    background: #17a2b8;
}

.tool-description-preview {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    margin-bottom: 25px;
}

.tool-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-visit-btn {
    background: #28a745;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tool-visit-btn:hover {
    background: #218838;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

.tool-share-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
}

.tool-share-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.tool-content-area {
    padding: 60px 0;
}

.tool-detail-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.tool-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

.tool-full-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.tool-pros-cons-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.tool-pros-box,
.tool-cons-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.tool-pros-box {
    border-left: 4px solid #28a745;
}

.tool-cons-box {
    border-left: 4px solid #dc3545;
}

.tool-pros-title,
.tool-cons-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-pros-title {
    color: #28a745;
}

.tool-cons-title {
    color: #dc3545;
}

.tool-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-list-items li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.tool-list-items li:last-child {
    border-bottom: none;
}

.tool-list-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tool-pricing-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.tool-pricing-label {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.tool-pricing-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
}

.tool-cta-big {
    background: #007bff;
    color: white;
    padding: 18px 50px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tool-cta-big:hover {
    background: #003d7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.tool-related-section {
    background: white;
    padding: 60px 0;
    margin-top: 40px;
}

.tool-related-title {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
}

.tool-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.tool-related-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tool-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tool-related-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tool-related-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8f9fa;
}

.tool-related-logo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.tool-related-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.tool-related-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tool-related-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-related-pricing {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-related-pricing.paid {
    background: #ffc107;
    color: #000;
}

.tool-related-pricing.freemium {
    background: #17a2b8;
}

.tool-related-btn {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tool-related-btn:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-1px);
}

/* Tool Page Responsive */
@media (max-width: 768px) {
    .tool-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tool-title-area h1 {
        font-size: 2rem;
    }
    
    .tool-pros-cons-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tool-detail-card {
        padding: 25px;
    }
    
    .tool-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Category Page Styles (New Classes) ===== */
.cat-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.cat-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.6;
}

.cat-breadcrumb {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cat-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.cat-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.cat-breadcrumb .breadcrumb-item.active {
    color: white;
    display: flex;
    align-items: center;
}

.cat-breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cat-breadcrumb-link:hover {
    color: white;
}

.cat-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cat-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cat-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cat-hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cat-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cat-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.cat-stat-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Category Filters */
.cat-filters-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.cat-filters-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.cat-filters-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 20px;
    align-items: end;
}

.cat-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-filter-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-filter-label i {
    color: #007bff;
}

.cat-filter-input,
.cat-filter-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.cat-filter-input:focus,
.cat-filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.cat-filter-actions {
    display: flex;
    gap: 12px;
}

.cat-filter-apply-btn,
.cat-filter-clear-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cat-filter-apply-btn {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
}

.cat-filter-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.cat-filter-clear-btn {
    background: #6c757d;
    color: white;
}

.cat-filter-clear-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Category Tools */
.cat-tools-section {
    padding: 60px 0;
}

.cat-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.cat-tool-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cat-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
}

.cat-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cat-tool-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.cat-tool-logo-container {
    flex-shrink: 0;
}

.cat-tool-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.cat-tool-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.cat-tool-info {
    flex: 1;
    min-width: 0;
}

.cat-tool-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #212529;
    line-height: 1.3;
}

.cat-tool-featured {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cat-tool-pricing {
    flex-shrink: 0;
}

.cat-pricing-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-pricing-free {
    background: #d4edda;
    color: #155724;
}

.cat-pricing-paid {
    background: #f8d7da;
    color: #721c24;
}

.cat-pricing-freemium {
    background: #fff3cd;
    color: #856404;
}

.cat-tool-body {
    margin-bottom: 20px;
}

.cat-tool-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cat-tool-pros {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.cat-tool-pros i {
    margin-top: 2px;
    flex-shrink: 0;
}

.cat-tool-footer {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.cat-tool-details-btn,
.cat-tool-visit-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cat-tool-details-btn {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.cat-tool-details-btn:hover {
    background: #e9ecef;
    color: #212529;
}

.cat-tool-visit-btn {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    border: 2px solid transparent;
}

.cat-tool-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

/* Empty State */
.cat-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.cat-empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.cat-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
}

.cat-empty-description {
    color: #6c757d;
    margin-bottom: 30px;
}

.cat-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cat-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

/* Category Pagination */
.cat-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cat-hero-title {
        font-size: 2.5rem;
    }
    
    .cat-hero-description {
        font-size: 1.1rem;
    }
    
    .cat-filters-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cat-filter-actions {
        flex-direction: column;
    }
    
    .cat-tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cat-tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cat-tool-footer {
        flex-direction: column;
    }
    
    .cat-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .cat-hero-section {
        padding: 60px 0 40px;
    }
    
    .cat-hero-title {
        font-size: 2rem;
    }
    
    .cat-filters-card {
        padding: 20px;
    }
    
    .cat-tool-card {
        padding: 20px;
    }
}

/* ===== Tools Page Styles (Updated Classes) ===== */
.tools-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.tools-stat-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.tools-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tools-filter-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tools-filter-label i {
    color: #007bff;
}

.tools-filter-input,
.tools-filter-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.tools-filter-input:focus,
.tools-filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.tools-filter-actions {
    display: flex;
    gap: 12px;
}

.tools-filter-apply-btn,
.tools-filter-clear-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tools-filter-apply-btn {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
}

.tools-filter-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.tools-filter-clear-btn {
    background: #6c757d;
    color: white;
}

.tools-filter-clear-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.tools-tool-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.tools-tool-logo-container {
    flex-shrink: 0;
}

.tools-tool-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.tools-tool-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.tools-tool-info {
    flex: 1;
    min-width: 0;
}

.tools-tool-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #212529;
    line-height: 1.3;
}

.tools-tool-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.tools-tool-category i {
    color: #007bff;
}

.tools-tool-featured {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tools-tool-pricing {
    flex-shrink: 0;
}

.tools-pricing-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tools-pricing-free {
    background: #d4edda;
    color: #155724;
}

.tools-pricing-paid {
    background: #f8d7da;
    color: #721c24;
}

.tools-pricing-freemium {
    background: #fff3cd;
    color: #856404;
}

.tools-tool-body {
    margin-bottom: 20px;
}

.tools-tool-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tools-tool-footer {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.tools-tool-details-btn,
.tools-tool-visit-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tools-tool-details-btn {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.tools-tool-details-btn:hover {
    background: #e9ecef;
    color: #212529;
}

.tools-tool-visit-btn {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    border: 2px solid transparent;
}

.tools-tool-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

.tools-empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.tools-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
}

.tools-empty-description {
    color: #6c757d;
    margin-bottom: 30px;
}

.tools-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tools-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

/* ===== Blog Page Styles ===== */
.blog-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>');
    opacity: 0.6;
}

.blog-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.blog-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.blog-stat-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.blog-posts-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-thumbnail-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-thumbnail {
    transform: scale(1.05);
}

.blog-post-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-post-content {
    padding: 25px;
}

.blog-post-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
    line-height: 1.4;
}

.blog-post-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.blog-post-meta i {
    color: #007bff;
}

.blog-post-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-post-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.blog-empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.blog-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
}

.blog-empty-description {
    color: #6c757d;
    margin-bottom: 30px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.blog-newsletter-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.blog-newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
    opacity: 0.6;
}

.blog-newsletter-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-newsletter-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.blog-newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.blog-newsletter-input-group {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.blog-newsletter-input::placeholder {
    color: #6c757d;
}

.blog-newsletter-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-newsletter-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #002752 100%);
}

/* ===== Contact Page Styles ===== */
.contact-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.6;
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #212529;
}

.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.contact-form-input,
.contact-form-textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}

.contact-form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    height: fit-content;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #212529;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f8f9fa;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
}

.contact-info-text {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #6c757d;
}

.contact-info-list li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.contact-social-links {
    display: flex;
    gap: 15px;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-social-link:hover {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* ===== Homepage Blog Placeholder ===== */
.homepage-blog-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    border-radius: 12px 12px 0 0;
}

/* ===== Blog Post Page Styles ===== */
.blog-post-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-post-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>);
    opacity: 0.6;
}

.blog-post-breadcrumb {
    margin-bottom: 30px;
}

.blog-post-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0;
}

.blog-post-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.blog-post-breadcrumb .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.blog-post-breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-breadcrumb-link:hover {
    color: white;
}

.blog-post-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-post-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.blog-post-meta-separator {
    opacity: 0.6;
}

.blog-post-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* ===== Search Page Styles ===== */
.search-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.search-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>);
    opacity: 0.6;
}

.search-breadcrumb {
    margin-bottom: 30px;
}

.search-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0;
}

.search-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.search-breadcrumb .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.search-breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-breadcrumb-link:hover {
    color: white;
}

.search-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.search-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.search-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.search-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.search-stat-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* ===== Privacy Page Styles ===== */
.privacy-hero-section {
    background: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.privacy-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.6;
}

.privacy-breadcrumb {
    margin-bottom: 30px;
}

.privacy-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0;
}

.privacy-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.privacy-breadcrumb .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.privacy-breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-breadcrumb-link:hover {
    color: white;
}

.privacy-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.privacy-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.privacy-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
}

.privacy-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}


/* ===== Tools Page Breadcrumb ===== */
.tools-breadcrumb {
    margin-bottom: 30px;
}

.tools-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0;
}

.tools-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.tools-breadcrumb .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.tools-breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tools-breadcrumb-link:hover {
    color: white;
}

/* ===== Category Icon Colors ===== */
/* Icon wrapper hover effects */
.homepage-category-card:hover .homepage-category-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .footer,
    .newsletter-section,
    .newsletter-notification {
        display: none;
    }
}


.ai-logo {
    width: 45px;
    height: auto;
    margin-right: 10px;   
}
.logo-group {
    display: flex;
    align-items: center;
}
