

/* ==== Related Tools Section ==== */
.related-section {
    margin: 4rem auto 2rem;
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
}

.related-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.related-section ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-section li {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.related-section li:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.related-section a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.related-section a:hover {
    color: #2980b9;
}

.related-section .tool-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--accent);
}

/* ==== Responsive Styles ==== */
@media (max-width: 992px) {
    .header-content {
        padding: 0 1.5rem;
    }
    
    .related-section {
        padding: 2rem;
    }
    
    .related-section ul {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .related-section {
        padding: 1.5rem;
        margin: 3rem auto 1.5rem;
    }
    
    .related-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .related-section ul {
        grid-template-columns: 1fr;
    }
    
    .related-section li {
        padding: 1.2rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
}